linux:kernelcompile
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| linux:kernelcompile [2016/06/07 10:30] – created admin | linux:kernelcompile [2016/06/07 11:30] (current) – admin | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| **Kernel Compilation** | **Kernel Compilation** | ||
| - | a) Kernel Compilation on Ubuntu\\ | + | a) Kernel Compilation on Ubuntu |
| <code bash> | <code bash> | ||
| make menuconfig | make menuconfig | ||
| make-kpkg clean | make-kpkg clean | ||
| fakeroot make-kpkg -j24 --initrd --append-to-version=-custom kernel_image kernel_headers modules_image | fakeroot make-kpkg -j24 --initrd --append-to-version=-custom kernel_image kernel_headers modules_image | ||
| + | </ | ||
| + | |||
| + | b) Normal kernel compilation | ||
| + | |||
| + | **Why compile a new kernel ?** \\ | ||
| + | - New Hardware \\ | ||
| + | - Bug \\ | ||
| + | - New software \\ | ||
| + | - You want to do it \\ | ||
| + | |||
| + | <code bash> | ||
| + | make menuconfig | ||
| + | make dep | ||
| + | make clean | ||
| + | make zImage | ||
| + | make modules | ||
| + | cp / | ||
| + | make modules_install | ||
| + | </ | ||
| + | |||
| + | c) Kernel signification in Makefile 2.4.22.1 | ||
| + | <code bash> | ||
| + | Version=2 | ||
| + | PatchLevel=4 | ||
| + | Sublevel=22 | ||
| + | Extraversion=-1 | ||
| </ | </ | ||
linux/kernelcompile.1465288217.txt.gz · Last modified: 2016/06/07 10:30 by admin
