another neat trick that i use often in my 2.4 kernel builds are
make INSTALL_MOD_PATH=/tmp/OS/ modules_install
which places lib/modules/kernel-name/ under /tmp/OS
--- In Jim Jackson <> wrote:
>
>
>
>
> On Tue, 19 Apr 2005, vocemanago wrote:
> >
> > >> INSTALL_MOD_PATH=`pwd`/modules
> > >> make modules_install
> > >> installs kernel into linux24/modules
>
> Wow that's garbled. I think you will find that in my original email
I had
>
> make modules
> INSTALL_MOD_PATH=`pwd`/modules make modules_install
>
> That's all on one line, not split over 2, but you may be right about
> needing the export. It's a couple of months since I did this.
>
> > which doesn't work, I am curious just what this part is supposed
to do?
>
> It copies the various modules into a tree structure under
.../linux24/modules
> You can then copy them where you want. The default make modules_install
> installs the modules (or tries!) in /lib on the dev. machine - which is
> not what you want.
>
> However not being root helps here!
>
> > Now looking at it again, I think I figured it out, ...
> > Another test...
> > nope, I can't make the makefile figure out the environment variable...
> > oh wait, have to export it...forgot that...
> > so the instructions should read ...for me at least
> > ....
> > INSTALL_MOD_PATH=`pwd`/modules
> > export INSTALL_MOD_PATH
> > make modules_install
> > installs kernel into linux24/modules
> > ....
> >
> > Ok everything looks good...except now I have a module that was not for
> > this architechture.
> > So I got this to look forward too.
> > Tony
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|