cd /usr/src/linux
cat Makefile

parse:

"#
# 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.
#

MODLIB  := $(INSTALL_MOD_PATH)/lib/modules/$(KERNELRELEASE)
export MODLIB
"

therefore i would try 

INSTALL_MOD_PATH=~/tmp make modules_install

however I am not entirely sure so i would probably back up /lib/modules
first. I don't think there is any problem in moving it somewhere safe,
so long as you don't need to load a module in the intervening period.


On Thu, 22 Apr 2004 15:25:11 +1200
mjm159 <[EMAIL PROTECTED]> wrote:

> Hi all,
> 
> In the course of making a new kernel, when I run "make modules_install", can I 
> specify a target directory to install modules to instead of /lib/modules?
> 
> Thanks,
> Michael.
> 
> ---
> [EMAIL PROTECTED]
> Message generated in webmail.

-- 
Nick Rout <[EMAIL PROTECTED]>

Reply via email to