Linux MIPS Architecture development
 help / color / mirror / Atom feed
* modules_install
@ 2003-02-25 13:49 Gilad Benjamini
  2003-02-25 13:51 ` modules_install Geert Uytterhoeven
  0 siblings, 1 reply; 3+ messages in thread
From: Gilad Benjamini @ 2003-02-25 13:49 UTC (permalink / raw)
  To: linux-mips

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.

My aim is to compile the modules and pack them into a ramdisk 
that is compiled into the kernel.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: modules_install
  2003-02-25 13:49 modules_install Gilad Benjamini
@ 2003-02-25 13:51 ` Geert Uytterhoeven
  2003-02-26  1:34   ` modules_install Keith Owens
  0 siblings, 1 reply; 3+ messages in thread
From: Geert Uytterhoeven @ 2003-02-25 13:51 UTC (permalink / raw)
  To: Gilad Benjamini; +Cc: Linux/MIPS Development

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.

Gr{oetje,eeting}s,

						Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
							    -- Linus Torvalds

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: modules_install
  2003-02-25 13:51 ` modules_install Geert Uytterhoeven
@ 2003-02-26  1:34   ` Keith Owens
  0 siblings, 0 replies; 3+ messages in thread
From: Keith Owens @ 2003-02-26  1:34 UTC (permalink / raw)
  To: Linux/MIPS Development

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.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-02-26  1:35 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-02-25 13:49 modules_install Gilad Benjamini
2003-02-25 13:51 ` modules_install Geert Uytterhoeven
2003-02-26  1:34   ` modules_install Keith Owens

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox