1> tar -zxvf linux-3.5-20141114.tgz -C /
2> cp tiny4412_linux_defconfig .config //友善之臂配置好的
3> make -j2 //2个cpu核同时编译
4>生成 arch/arm/boot/zImage //内核镜像文件
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
选择编译:
# make menuconfig
通过菜单,选择和取消。
重新# make -j2
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
ubuntu出现问题:
点击(此处)折叠或打开
-
1>
-
*** Unable to find the ncurses libraries or the
-
*** required header files.
-
*** 'make menuconfig' requires the ncurses libraries.
-
***
-
*** Install ncurses (ncurses-devel) and try again.
-
***
-
make[1]: *** [scripts/kconfig/dochecklxdialog] Error 1
-
make: *** [menuconfig] Error 2
-
-
解决办法:
- #apt-get install libncurses5-dev