Howto: Compile and package Linux kernel 3.4.7
来源:互联网 发布:php三级分销代码 编辑:程序博客网 时间:2024/05/21 10:40
Compiling kernel - and packaging it the Debian way -
The latest stable Linux kernel is 3.4.7
Prerequisites:
The user should belong to group src and the following packages should be installed:
wget tar bzip2 build-essential libncurses-dev kernel-package fakeroot
Compiling and packaging:
cd /usr/src/wget http://www.kernel.org/pub/linux/kernel/v3.0/linux-3.4.7.tar.bz2tar jxvf linux-3.4.7.tar.bz2cp /boot/config-$(uname -r) /usr/src/linux-3.4.7/.configcd linux-3.4.7; make menuconfigmake-kpkg cleanfakeroot make-kpkg --initrd --revision=custom.1.0 kernel_image kernel-headerssudo dpkg -i ../linux-image-3.4.7_custom.1.0_i386.deb
Tips:
To optimize your kernel further you might like to try make localmodconfig instead ofmake menuconfig, it should strip unused modules from your kernel config.
Caution: unplugged devices won't have support in kernel anymore.
If your machine has multiple cores you might also want to add the following line to/etc/kernel-pkg.conf before compiling:
CONCURRENCY_LEVEL=3 ##LEVEL can be set to number of cores x2
- Howto: Compile and package Linux kernel 3.4.7
- Howto Compile and Install Linux Kernel 3.3rc / 3.2 / 3.1 / 3.0 in Ubuntu 11.10, 11.04, 10.10 and 10.
- Linux Kernel HOWTO 中译版
- The Linux Kernel HOWTO
- The Linux Kernel HOWTO
- Compile linux kernel source
- Compile Linux Kernel Modules
- Compile Linux kernel
- linux kernel compile
- Cross compile linux kernel
- Android Kernel Compile And Run
- HOWTO do Linux kernel development
- HOWTO do Linux kernel development
- linux kernel compile update etc
- Compile Linux Kernel in Ubuntu
- Compile for old-kernel Linux
- cross compile linux kernel command
- LINUX KERNEL COMPILE ERROR LIST
- 运放稳定性连载8:单电源缓冲器电路的实际设计(1)
- 曾国藩家书:做人须清廉谨慎勤劳
- ORACLE EXECUTE IMMEDIATE
- UIImageView Animations
- \sdk\include\wspiapi.h(47) : error C2265: '<Unknown>' : reference to a zero-sized array is illegal
- Howto: Compile and package Linux kernel 3.4.7
- iBatis使用小例
- poj 2096 马克科夫链
- apache FTp
- 使用NSTimer实现倒计时
- 网络编程之TCP服务器
- HDU 4161 Iterated Difference (模拟+递推)
- [SGU]100. A+B
- 转载iphone开发之 - 启动页面设置