内核编译

我用的是menuconfig
下载新的内核:www.kernel.org
解压后,连接 ln -s ./linux-2.6.28.7 linux
清理以前编译的包:make mrproper
如果使用以前的内核配置:cp /boot/config-‘uname -r’ ./.config
配置内核 make menuconfig
再清理一次:make-kpkp clean
编译:fakeroot make-kpkg –append-to-version=mykernel linux-image
在/usr/src下生成一个Deb包,使用dpkg安装 dpkg -i
Advertisements
此条目发表在linux分类目录。将固定链接加入收藏夹。

发表评论

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / 更改 )

Twitter picture

You are commenting using your Twitter account. Log Out / 更改 )

Facebook photo

You are commenting using your Facebook account. Log Out / 更改 )

Google+ photo

You are commenting using your Google+ account. Log Out / 更改 )

Connecting to %s