Coder's Guild Mailing List

Linux kernel

Posted by Frank Hale on 2001-02-04

Okay in the kernel makefile there is this:

#
# 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 argument can be passed to make if needed.
#

This allows you to specify another directory where the modules are
installed. How can I pass this variable to the makefile on the
commandline? I don't want it to install in its normal place
/lib/modules/ , I would like to tell it to install somewhere else but I
need to tell it when doing make modules_install. I cannot simply hard
code it in the makefile because the build is being done by an RPM I am
making and I don't know the dir ahead of time. The dir is kept in yet
another variable that is different for each build.

-- 
ICQ: 7205161
IRC: #sapphirewm on irc.openprojects.net
http://sapphire.sourceforge.net - A small X11 Window Manager
http://javathingies.sourceforge.net - my java junk