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.