linux-mips
[Top] [All Lists]

Re: modules_install

To: Linux/MIPS Development <linux-mips@linux-mips.org>
Subject: Re: modules_install
From: Keith Owens <kaos@sgi.com>
Date: Wed, 26 Feb 2003 12:34:51 +1100
In-reply-to: Your message of "Tue, 25 Feb 2003 14:51:40 BST." <Pine.GSO.4.21.0302251451040.15407-100000@vervain.sonytel.be>
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
On Tue, 25 Feb 2003 14:51:40 +0100 (MET), 
Geert Uytterhoeven <geert@linux-m68k.org> wrote:
>On Tue, 25 Feb 2003, Gilad Benjamini wrote:
>> How does one tweak the kernel's "modules_install" target in the 
>> makefile to properly be used for cross compiling ?
>> I can change the kernel Makefile, but I'd rather not.
>
>make INSTALL_MOD_PATH=...
>
>Note that depmod will fail anyway.

Cross compile for ia64.

make ARCH=ia64 \
        CROSS_COMPILE=/usr/bin/ia64-linux- \
        INSTALL_MOD_PATH=/build/kaos \
        DEPMOD=/bin/true

DEPMOD=/bin/true makes depmod a noop, the first boot on the target will
build modules.dep.


<Prev in Thread] Current Thread [Next in Thread>