ts-7000
[Top] [All Lists]

Re: [ts-7000] Kernel Building Revisited

To:
Subject: Re: [ts-7000] Kernel Building Revisited
From: "Eddie Dawydiuk" <>
Date: Fri, 22 Apr 2005 10:06:10 -0700 (MST)
You might want to refer to the script autobuild_for_customer it contains
all of the information to compile a kernel.

ie

function build_a_config(){
        rm -f vmlin*
        make distclean
        make "$1"_config
        make oldconfig
        make dep
        make zImage
        make modules
        INSTALL_MOD_PATH=`pwd`/autobuilt_customer/"$1" make modules_install
        mkdir -p autobuilt_customer/"$1"
        cp vmlin* autobuilt_customer/"$1"
        ls -lah autobuilt_customer/"$1"
}

rm -rf autobuilt_customer
mkdir autobuilt_customer

build_a_config ts7200

echo "Done"


//Eddie

> In lookin at the notes from technologic, they do not do a
> make modules_install
> operation, so I am wondering, if it is necessary.
> I am guessing that it is handy for making a set of directorys that can
> be easily transfered over to the linux box file system, but I don't
> really know what the big use for it is (I mean in a normal system it
> moves them into the kernel directories for reboot time).
> I also don't know why I can do the "make modules" but make
> modules_install fails with
>
> depmod: ELF file
> /home/arm/linux24/modules/lib/modules/2.4.26-vrs1-cirrus-1-2-1-ts6/kernel/net/bluetooth/sco.o
> not for this architecture
> depmod: ELF file
> /home/arm/linux24/modules/lib/modules/2.4.26-vrs1-cirrus-1-2-1-ts6/kernel/net/irda/irda.o
> not for this architecture
> depmod: ELF file
> /home/arm/linux24/modules/lib/modules/2.4.26-vrs1-cirrus-1-2-1-ts6/kernel/net/packet/af_packet.o
> not for this architecture
> make: *** [_modinst_post] Error 1
>
> I am trying to uses the notes that Jim Jackson put forward in the
> prior message and at the same time use the notes supplied by Technologic.
> If I follow the Technologic note, I don't do the "modules_install"
> rule for the makefile.
> I am curious in this case,where all the modules reside.
>
> I realize this is trivial but it bothers me.
> Tony
>
>
>
>
>
>
> Yahoo! Groups Links
>
>
>
>
>
>
>
>




 
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