Update KERNEL.md

This commit is contained in:
mayfrost 2018-03-03 19:14:24 +00:00 committed by GitHub
parent ca3ad6dcf7
commit cb2d9bc1c8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -99,7 +99,7 @@ This process makes a "__.config__" file in the kernel source directory, this fil
Can take minutes to hours. Can take minutes to hours.
__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.
`make -j<X> <OTHER_FLAGS>` `make -j<X> <OTHER_FLAGS>`
And with ccache   And with ccache.
`make -j<X> CC="ccache gcc" <OTHER_FLAGS>` `make -j<X> CC="ccache gcc" <OTHER_FLAGS>`
For compilation you have two options, __OPTION A__ is the easiest and is a single command. __OPTION B__ is here for didactic purposes. For compilation you have two options, __OPTION A__ is the easiest and is a single command. __OPTION B__ is here for didactic purposes.