嵌入式ARM平台的内核编译
0.下载内核代码。
更多关于Linux Kernel的详细信息,或者下载地址请点这里
jiang_dlut/linux-3.0.15$ make mrproper
CLEAN drivers/tty/vt
CLEAN drivers/video/logo
CLEAN firmware
CLEAN kernel
CLEAN lib
CLEAN .tmp_versions
CLEAN vmlinux System.map .tmp_kallsyms1.o .tmp_kallsyms1.S .tmp_kallsyms2.o .tmp_kallsyms2.S .tmp_vmlinux1 .tmp_vmlinux2 .tmp_System.map
CLEAN scripts/basic
CLEAN scripts/genksyms
CLEAN scripts/kconfig
CLEAN scripts/mod
CLEAN scripts
CLEAN include/config include/generated arch/arm/include/generated arch/x86/include/generated
CLEAN .config .config.old .version include/linux/version.h Module.symvers
1. make mrproper 检查内核源码树,是否纯净。不纯净,则会CLEAN。
2. 配置内核
jiang_dlut/linux-3.0.15$ make ARCH=arm CROSS_COMPILE=arm-fsl-linux-gnueabi- menuconfig
出现下面的配置界面,勾选你的配置。保存退出。