Cobalt Qube2 (Linux)

Linux 2.4.x

Linux 2.6.x

Cross-compiling kernel stuff

links:

 make ARCH=<your arch> config, then make ARCH=<your arch> CROSS_COMPILE=<toolchain prefix> all

you can put the CROSS_COMPILE variable on the config command, too. Doesn't hurt and is probably “proper”

Example

f /usr/src/linux-2.6.28.4/Makefile

...
ARCH            = mips
CROSS_COMPILE   = /usr/mipsel/bin/mipsel-linux-
..
 export ARCH=mips
 make-kpkg --initrd --rootcmd=fakeroot --arch mips --append-to-version=xxx kernel_image

FIXME - Debian package is created for arch=mips (Mipsel Debian on CobaltQube expect arch=mipsel) - you might have some problem installing the package;

cobaltqube.txt · Last modified: 2009/05/25 00:35 (external edit)
CC Attribution-Share Alike 4.0 International
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0 ipv6 ready