现在的位置: 首页 > 综合 > 正文

ubuntu内核编译

2012年05月23日 ⁄ 综合 ⁄ 共 543字 ⁄ 字号 评论关闭

 

平台:  Intel x86

操作系统:  Ubuntu8.10

内核:    linux-source-2.6.27

 

步骤:

1    $: sudo apt-cache linux-source                               //查看更新源上有哪些可用的内核

2    $: sudo apt-get install linux-source-2.6.27            //装上你需要的内核版本

3    $: cd /usr/src/linux-source-2.6.27                           //进入内核目录,接下来工作就开始了

4    $: sudo make oldconfig                                           //把内核配置一遍

5    $: sudo make                                                        //执行Makefile文件,会产生许多目标文件,过程比较长

源自:  http://www.cnblogs.com/john-d/archive/2009/04/26/1443835.html

参考:  http://www.chineselinuxuniversity.net/courses/kernel/introductions/9303.shtml

 

抱歉!评论已关闭.