Tuesday, January 6, 2009

Linux kernel cross compile with buildroot

Steps to build gcc/uClibc toolchain using buildroot
  • Download buildroot
  • Change configuration to build for powerpc-603
$ make menuconfig
  • Build buildroot
$ make

Steps to cross compile Linux kernel using gcc/uClibc toolchain
  • Set the path to gcc/uClibc toolchain
  • Build Linux kernel
$ make ARCH=powerpc CROSS_COMPILE=powerpc-linux-

No comments:

Post a Comment