Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| wiki:custom_kernel [2019/04/14 11:45] – Readability, update info on patching TomyTurbos | wiki:custom_kernel [2019/04/14 11:48] (current) – TomyTurbos | ||
|---|---|---|---|
| Line 16: | Line 16: | ||
| - Get the sources for the version of the standard Linux kernel that you are going to base your kernel on | - Get the sources for the version of the standard Linux kernel that you are going to base your kernel on | ||
| - | |||
| - Get the patches you intend to apply - both TC kernel patches and possibly others (in my case the RT-patches) | - Get the patches you intend to apply - both TC kernel patches and possibly others (in my case the RT-patches) | ||
| - | |||
| - Unpack the linux sources and cd into the top level directory of the source package | - Unpack the linux sources and cd into the top level directory of the source package | ||
| - | |||
| - Apply the patches using (in most cases) "patch -p1 < patchfile" | - Apply the patches using (in most cases) "patch -p1 < patchfile" | ||
| - | |||
| - NOTE: "patch -p1 < patchfile" | - NOTE: "patch -p1 < patchfile" | ||
| - | |||
| - Move the kernel config file from the standard TC kernel into the same directory and rename it to " | - Move the kernel config file from the standard TC kernel into the same directory and rename it to " | ||
| - | |||
| - Do "make oldconfig" | - Do "make oldconfig" | ||
| - | |||
| - Do "make menuconfig" | - Do "make menuconfig" | ||
| - | |||
| - Do "make bzImage" | - Do "make bzImage" | ||
| - | |||
| - Do "make modules" | - Do "make modules" | ||
| - | |||
| - Do "make INSTALL_MOD_PATH=/ | - Do "make INSTALL_MOD_PATH=/ | ||