Update KERNEL.md

This commit is contained in:
mayfrost 2018-03-03 09:36:36 +00:00 committed by GitHub
parent 11ef89fb71
commit c746fdb7e4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -8,7 +8,7 @@ Compiling a kernel has the advantage to make it as minimal and featureful as you
1. [PREPARATIONS](#preparations) 1. [PREPARATIONS](#preparations)
2. [GETTING THE KERNEL SOURCE](#getting-the-kernel-source) 2. [GETTING THE KERNEL SOURCE](#getting-the-kernel-source)
2.1. [OPTIONAL](#optional) 2.1. [OPTIONAL: Symlink](#optional-symlink)
2.2. [DOWNLOAD THE KERNEL SOURCE](#download-the-kernel-source) 2.2. [DOWNLOAD THE KERNEL SOURCE](#download-the-kernel-source)
3. [GENERATING A CONFIGURATION FILE](#generation-a-configuration-file) 3. [GENERATING A CONFIGURATION FILE](#generation-a-configuration-file)
4. [CHANGING THE CONFIGURATION (OPTIONAL)](#changing-the-configuration-optional) 4. [CHANGING THE CONFIGURATION (OPTIONAL)](#changing-the-configuration-optional)
@ -39,9 +39,11 @@ Compiling a kernel has the advantage to make it as minimal and featureful as you
## GETTING THE KERNEL SOURCE ## GETTING THE KERNEL SOURCE
### OPTIONAL: ### OPTIONAL: Symlink
Is standard to download Linux sources under __/usr/src/__, to link the downloaded kernel tree to __/usr/src/linux-<VERSION_NUMBER>__ and work there, but is not a requirement. Is standard to download Linux sources under __/usr/src/__, to link the downloaded kernel tree to __/usr/src/linux-<VERSION_NUMBER>__ and work there, but is not a requirement.
* Change to __/usr/src/__.
`cd /usr/src/` `cd /usr/src/`
* Symlink.
`ln -s linux-<VERSION_NUMBER> linux` `ln -s linux-<VERSION_NUMBER> linux`
### DOWNLOAD THE KERNEL SOURCE ### DOWNLOAD THE KERNEL SOURCE