User Tools

Site Tools


linux:kernelcompile

This is an old revision of the document!


Kernel Compilation

a) Kernel Compilation on Ubuntu

make menuconfig
make-kpkg clean
fakeroot make-kpkg -j24 --initrd --append-to-version=-custom kernel_image kernel_headers modules_image 

a) Normal kernel compilation

Why compile a new hardware ?
- New Hardware
- Bug
- New software
- You want to do it

make menuconfig
make dep
make clean
make zImage
make modules
cp /usr/src/linux/arch/i386/boot/zImage /boot/mykernel
make modules_install
linux/kernelcompile.1465291639.txt.gz · Last modified: 2016/06/07 11:27 by admin