Update KERNEL.md

This commit is contained in:
mayfrost 2018-03-12 17:22:54 +00:00 committed by GitHub
parent 7930183d58
commit 2b4648445c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -92,6 +92,7 @@ This process makes a "__.config__" file in the kernel source directory, this fil
* __OPTION 1__: Start a menu and browse options. Requires curses library but likely is already on your computer. Press "__H__" or "__?__" to see help. You can use the space bar to cycle between the available choices or press the appropriate key mentioned above. Pressing "__/__" to search for keywords. * __OPTION 1__: Start a menu and browse options. Requires curses library but likely is already on your computer. Press "__H__" or "__?__" to see help. You can use the space bar to cycle between the available choices or press the appropriate key mentioned above. Pressing "__/__" to search for keywords.
`make menuconfig` `make menuconfig`
__NOTE__: Remember to save the configuration if you are using menuconfig to generate the "_.config_" file.
* __OPTION 2__: Will make questions on what kernel options to support when it finds new kernel options not marked on an existing config file (takes time and and if you are using a striped down config file it requires you knowledge). * __OPTION 2__: Will make questions on what kernel options to support when it finds new kernel options not marked on an existing config file (takes time and and if you are using a striped down config file it requires you knowledge).
`make oldconfig` `make oldconfig`
@ -99,7 +100,6 @@ This process makes a "__.config__" file in the kernel source directory, this fil
* __OPTION 3__: Will fill questions with default answers on what kernel options to support beyond your provided config file. * __OPTION 3__: Will fill questions with default answers on what kernel options to support beyond your provided config file.
`make olddefconfig` `make olddefconfig`
## COMPILATION ## COMPILATION
Can take minutes to hours. Have a cup of tea or coffee while you wait to compile. Can take minutes to hours. Have a cup of tea or coffee while you wait to compile.
__NOTE__: The __-j\<X>__ flag, where __\<X>__ is the number of cores +1, __IS OPTIONAL__ and only goes if you have a processor with multiple cores. If you install __ccache__ (__THIS IS OPTIONAL__) you can speed up subsequent compilations by including __CC="ccache gcc"__ after the __-j\<X>__ flag. __NOTE__: The __-j\<X>__ flag, where __\<X>__ is the number of cores +1, __IS OPTIONAL__ and only goes if you have a processor with multiple cores. If you install __ccache__ (__THIS IS OPTIONAL__) you can speed up subsequent compilations by including __CC="ccache gcc"__ after the __-j\<X>__ flag.