Kernel Build without OE tools

Andy Green andy at openmoko.com
Mon Sep 15 09:10:15 CEST 2008


-----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-

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-----



More information about the openmoko-kernel mailing list