Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
en:guides:kernel [2010/04/17 16:10] fandesandro |
en:guides:kernel [2010/07/06 19:52] seawolf slight expansion on explanation |
||
---|---|---|---|
Line 34: | Line 34: | ||
</code> | </code> | ||
- | ===== Configure and compile ===== | + | ===== Configure and Compile ===== |
The Linux kernel source tree is now ready to configure and compile. | The Linux kernel source tree is now ready to configure and compile. | ||
- | * Go to the kernel source tree directory. | + | * Go to the directory that contains the kernel source tree. |
<code> | <code> | ||
# cd /usr/src/linux | # cd /usr/src/linux | ||
</code> | </code> | ||
- | * Prepare the build. | + | |
+ | * Prepare the build from the default configuration. | ||
<code> | <code> | ||
# make oldconfig && make prepare | # make oldconfig && make prepare | ||
Line 49: | Line 49: | ||
* Modify the kernel configuration to your needs, and compile. | * Modify the kernel configuration to your needs, and compile. | ||
+ | * The //menuconfig// allows you to customise the kernel, which is built into the //bzImage// file. Any //modules// are built and then //install//ed in to the ///usr/include// directory. You should then copy the kernel itself to the ///boot// directory. | ||
<code> | <code> | ||
# make menuconfig | # make menuconfig | ||
Line 58: | Line 58: | ||
</code> | </code> | ||
- | * Configure the bootloader (optional) | + | * Configure the boot-loader (optional) |
<code> | <code> | ||
# leafpad /boot/grub/menu.lst | # leafpad /boot/grub/menu.lst | ||
</code> | </code> | ||
- | * And add. | + | * Add the new kernel to the list |
<code> | <code> | ||
# My kernel: | # My kernel: | ||
Line 72: | Line 71: | ||
</code> | </code> | ||
- | Of course, adapt to your needs… | + | ---- |
+ | \\ | ||
+ | ^ Page Review Section ^^ | ||
+ | |Quality| Medium | | ||
+ | |Review| Minor/Major Updates | | ||
+ | |Priority| Medium | | ||
+ | |Problems| add a [[http://forum.slitaz.org|forum post link]]| | ||
+ | |::: | OR add a [[http://labs.slitaz.org/issues |lab issue tracker link ]]| | ||
+ | |How to Improve| Add "tazwok cook linux"| | ||
+ | |::: | | | ||
+ | |||
+ | \\ | ||
+ | ---- |