Re: How to compile on one machine and install on another?

Keith Owens (kaos@ocs.com.au)
Thu, 21 Jun 2001 13:10:40 +1000


On Wed, 20 Jun 2001 14:11:20 -0600,
Maciek Nowacki <maciek@Voyager.powersurfr.com> wrote:
>Change MODLIB in $(TOPDIR)/Makefile (e.g. /usr/src/linux/Makefile). I do this
>to compile the kernel and modules without root priviledges at all. make
>modules_install will fail at the end when trying to run 'depmod', but that's
>okay - you can do that yourself:

That is not OK, it requires user hacks and causes errors. Use
make INSTALL_MOD_PATH=foo modules_install
and everything works. Create $(INSTALL_MOD_PATH)/lib/modules first.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/