Compiling Linux-Libre which includes a specific module
- Inicie sesión ou rexístrese para enviar comentarios
Hi,
I want to compile the linux-libre kernel of Trisquel with exactly the same default configs but only changing the setting in a way to include one module during compilation.
How Can I do this? I have read this https://trisquel.info/en/wiki/compiling-gnu-linux-libre-kernel
What I have done so for:
I got the linux-libre kernel of the distro using the following command:
$ apt-get source linux
and then:
$ cd linux-3.13.0
and then:
$ make oldconfig
but it asks me some questions which I do not know what to answer or I do not know what the default answers were.
Hello! The README file in the linux-3.13.0 source directory will tell you that
"make oldconfig" Default all questions based on the contents of your existing ./.config file and asking about new config symbols.
You can read the descriptions of the new config symbols and decide for yourself or just hit enter to get the default. If you'd rather get oldconfig + all defaults, you can instead use
"make olddefconfig" Like above, but sets new symbols to their default values without prompting.
Since you're only changing one little bit, these could come handy
* http://kernelnewbies.org/KernelBuild#line-188
* https://www.linuxquestions.org/questions/debian-26/is-it-necessary-to-recompile-the-entire-kernel-to-add-support-for-a-device-as-module-447510/
- Inicie sesión ou rexístrese para enviar comentarios