[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Kernel compilation



> The only problem I see is "make modules_install"...
> 
> [ The issue here would be then whether /lib/modules is hardwired in
> the kernel Makefile or it is possible to use an alternate directory
> for that ].

Unfortunately it's hardwired :-( There's only a shell variable
$MODLIB, but you can't override that from the command line. A solution
could be patching the Makefile, like

  mv Makefile Makefile.bak
  sed 's/\(^.*MODLIB=\)\/lib\/modules\(.*\)$/\1/path/to/some/where\2/' \
    < Makefile.bak >Makefile
  make modules_install
  mv Makefile.bak Makefile

Roman


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-devel-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .


Reply to: