arm-gcc-linux
root@ubuntu:/home/arm/dev_home/btools/tchain3.4.4/BUILD/binutils-2.16#make
install
root@ubuntu:/home/arm/dev_home/btools/tchain3.4.4/BUILD/binutils-2.16# exit
arm@ubuntu:~/dev_home/btools/tchain3.4.4/BUILD/binutils-2.16$
2.5 准备内核头文件
2.5.1 使用当前平台的gcc编译内核头文件
arm@ubuntu:~/dev_home/btools/tchain3.4.4/BUILD/binutils-2.16$ cd ${KERNEL}
arm@ubuntu:~/dev_home/kernel$
arm@ubuntu:~/dev_home/kernel$ tar jxvf ../btools/tchain3.4.4/linux-2.6.14.1.tar.bz2
arm@ubuntu:~/dev_home/kernel$ cd linux-2.6.14.1/
arm@ubuntu:~/dev_home/kernel/linux-2.6.14.1$ cp arch/arm/configs/smdk2410_defconfig .config
本人是用的CPU是S3C2410,选择了一个配置文件smdk_defconfig,你可以根据你的
需要选择
arm@ubuntu:~/dev_home/kernel/linux-2.6.14.1$ make ARCH=arm menuconfig
System Type --->
ARM system type (Samsung S3C2410) --->
S3C24XX Implementations --->
[ ] Simtec Electronics ANUBIS
[ ]Simtec Electronics BAST (EB2410ITX)