On Fri, Oct 31, 2003 at 10:12:42AM -0500, PDock wrote: > Not being a rpm user I have been using the command line O= option. > Please give consideration to the following modification to the linux-2.6 > makefile: > > # OK, Make called in directory where kernel src resides > # Do we want to locate output files in a separate directory? > ifdef O > ifeq ("$(origin O)", "command line") > KBUILD_OUTPUT := $(O) > export INSTALL_MOD_PATH := $(O) > endif > endif > ******************* > With this change 'make O=/your/path modules_install' does not alter the build > hosts /lib/modules which I meekly submit should be the default behavior when > using the O= option. > Not being a list subscriber I apologize if this has been covered.
The correct way to do it is to use: make INSTALL_MOD_PATH=/dir/ ... Extract from top-level makefile: # # INSTALL_MOD_PATH specifies a prefix to MODLIB for module directory # relocations required by build roots. This is not defined in the # makefile but the arguement can be passed to make if needed. # Sam ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ kbuild-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/kbuild-devel