Re: Cross-compiling 2.6.26-1-ixp4xx
* Marco Schuster <marco@harddisk.is-a-geek.org> [2008-10-26 19:38]:
> What I did:
> 1) apt-get source linux-2.6.26-1
> 2) apply some simple patch to USB host code
> 3) cp /boot/config-2.6.26-1-ixp4xx .config (in kernel source root)
> 4) make-kpkg --initrd linux-kernel
I'd recommend the method described at
http://www.nslu2-linux.org/wiki/Debian/BuildImage (although it may
need some small changes for 2.6.26).
> And how can I use cross-compiling so that kernel compiling does not
> take three days on the sloooow IXP4xx?
The cross compiler from Emdebian works for me. Add
deb http://www.emdebian.org/debian/ unstable main
and install:
apt-get install libc6-armel-cross libc6-dev-armel-cross binutils-arm-linux-gnueabi gcc-4.1-arm-linux-gnueabi
(this is for armel).
--
Martin Michlmayr
http://www.cyrius.com/
Reply to: