Tuesday, November 20, 2007

Cross compiling 2.6 kernel for ARM
I have to cross compile a kernel for an arm based system. Here is what I did and it worked.

make CROSS_COMPILE=arm-linux- ARCH=arm PATH=/cross-compiler-path/:$PATH


i.e: (toolchain is in /tools/arm-uclibc-3.4.6/bin/ directory.
PATH=/tools/arm-uclibc-3.4.6/bin/:$PATH

No comments: