ts-7000
[Top] [All Lists]

[ts-7000] Re: Question on Kernel Build

To:
Subject: [ts-7000] Re: Question on Kernel Build
From: "agrimiore" <>
Date: Fri, 22 Apr 2005 23:14:53 -0000

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/
 



<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU