我想为lubbock便一个2.6的内核,具体的操作如下:
1) tar jxvf linux-2.6.7.tar.bz2
2) make ARCH=arm lubbock_defconfig
3) make ARCH=arm menuconfig
Choose: General Setup
(root=/dev/ram initrd=0xa1000000,0x00400000
console=ttyS0,115200 mem=64M)
Choose: Block Devices
<*>RamDisk support
(4096) Default Ram disk size(kbytes)
Initial Ram disk (initrd) support
Save and Exit
4) make ARCH=arm CROSS_COMPILE=arm-linux-
系统提示:
CHK include/linux/version.h
UPD include/linux/version.h
SYMLINK include/asm -> include/asm-arm
SPLIT include/linux/autoconf.h -> include/config/*
HOSTCC scripts/conmakehash
HOSTCC scripts/kallsyms
CC scripts/empty.o
Assembler messages:
Error: unrecognized option `-marmv5te'
make[1]: *** [scripts/empty.o] Error 1
make: *** [scripts] Error 2
编译失败。
附:我的工具链是xscale-arm-linux-toolchain,版本信息为:
Reading specs from /usr/local/arm-linux/bin/../lib/gcc-lib/arm-linux/3.2.1/specsConfigured with: ./configure --target=arm-linux --prefix=/usr/local/arm-linux/ --with-headers=/root/workcvs/SS_Linux/kernel/linux//include --with-cpu=xscale --with-softfloat-support=internal --enable-languages=c,c++ --nfp
Thread model: posix
gcc version 3.2.1
系统中只有一个交叉编译工具链。