Re: Cross-compiling 2.6.26-1-ixp4xx
Hi Marco
On Sat, Nov 15, 2008 at 07:57, Marco Schuster
<marco@harddisk.is-a-geek.org> wrote:
>> 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).
>
> ok, done this. how do I now configure make-kpkg or make menuconfig to
> do cross-compiling?
Try
1. apt-get source linux-2.6
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 ARCH=arm oldconfig or make ARCH=arm silentoldconfig
5. make-kpkg --rootcmd=fakeroot --revision=0
--append-to-version=-custom --arch=armel
--cross-compile=/usr/bin/arm-linux-gnueabi- kernel-image --initrd
Gordon
--
Gordon Farquharson
GnuPG Key ID: 32D6D676
Reply to: