apt-get install libncurses5-dev //安装ncurses 库
make menuconfig //配置内核
make dep; make clean //清理内核
make zImage //编译内定核映像
make modules //编译内核模块
make modules_install //安装内核模块 默认在 /lib/modules
make install //安装内核映像 默认在 /boot
自定义安装目录
make INSTALL_MOD_PATH=/home/loongson/kernel/image/2.6 modules_install
make INSTALL_PATH=/home/loongson/kernel/image/2.6/ install
参考:
http://edsionte.com/techblog/archives/3289
阅读(428) | 评论(0) | 转发(0) |