Kernel Build without OE tools

Shaz shazalive at gmail.com
Wed Sep 17 06:06:41 CEST 2008


On Mon, Sep 15, 2008 at 12:10 PM, Andy Green <andy at openmoko.com> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Somebody in the thread at some point said:
> | Hi,
> |
> | I am also trying to build the kernel the old fashioned way. So I did :
> |
> | git clone git://git.openmoko.org/git/kernel.git linux-2.6
> | cd linux-2.6
> | git checkout origin/stable
> |
> | and now I did some of my custom patching but then at the point of
> | doing make I got stuck on the variable CROSS_COMPILE=? and ARCH=?
> |
> | Normally, when building generic arm kernel for qemu I used to do
> |
> | #make vmlinux CROSS_COMPILE=arm-linux ARCH=arm
>
> Have a look in the ./build script in our kernel sources.
>
> Basically you need to download the toolchain tarball
>
> http://wiki.openmoko.org/wiki/Toolchain
>
> to get the cross compilers down /usr/local/openmoko, and edit
>
> export CROSS_COMPILE=/usr/local/openmoko/arm/bin/arm-angstrom-linux-gnueabi-

Thanx for the tips andy.
>
I am compiling the kernel with toolchain rather than OE and when I
start the make process my custom .config is over written  and thus my
appended CONFIG_XXXXX are not built into the kernel. I checked during
the make process and my CONFIG_XXXXX were missing from .config!

How can this behavior be controlled?

> in ./build.
>
> - -Andy
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.9 (GNU/Linux)
> Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org
>
> iEYEARECAAYFAkjOClcACgkQOjLpvpq7dMpwvwCfQOKk6PaaeaC2kkaea9hre7KM
> y2gAn2FMciX08kpJNwovW2YkeXR+PhY2
> =Yb2g
> -----END PGP SIGNATURE-----
>
> _______________________________________________
> Openmoko community mailing list
> community at lists.openmoko.org
> http://lists.openmoko.org/mailman/listinfo/community
>



-- 
Shaz




More information about the community mailing list