- Joined
- Nov 12, 2002
- Location
- Rootstown, OH
So I've mastered the basics of building kernels. These are the questions I have right now.
Hypothetically... I have recent kernel 2.A.BC and realize I forgot to build a component into the kernel and want to recompile kernel 2.A.BC with the same options I built thru the last menuconfig, and one additional option. I download the kernel source and am ready to go - is there a way to provide the same options I selected in my previous menuconfig, then just provide the one additional option and compile?
For example, if I need to recompile my kernel, I would hunt thru all the options so I can remember everything I need. There has to be a better way, other than writing them down.
Summary:
1. Can I export to a file the options I selected in menuconfig? When is it possible to do this - when configuring the kernel and/or after the kernel is compiled?
2. Can I provide the options I used on my last compile to recompile a new kernel in a non-purely-manual way?
3. Do the answers to these questions possibly change if I'm changing from recent kernel 2.A.BC to newer kernel 2.A.YZ?
4. Also, if I update gcc from 4.1 to 4.3 then do an "emerge -eav world", I should recompile my kernel also or my kernel modules will fail to load, if I understand correctly. So in this case, I would want to recompile my kernel with the exact same options I manually selected the previous time. If this is not answered in the previous questions, please address this also.
Hypothetically... I have recent kernel 2.A.BC and realize I forgot to build a component into the kernel and want to recompile kernel 2.A.BC with the same options I built thru the last menuconfig, and one additional option. I download the kernel source and am ready to go - is there a way to provide the same options I selected in my previous menuconfig, then just provide the one additional option and compile?
For example, if I need to recompile my kernel, I would hunt thru all the options so I can remember everything I need. There has to be a better way, other than writing them down.
Summary:
1. Can I export to a file the options I selected in menuconfig? When is it possible to do this - when configuring the kernel and/or after the kernel is compiled?
2. Can I provide the options I used on my last compile to recompile a new kernel in a non-purely-manual way?
3. Do the answers to these questions possibly change if I'm changing from recent kernel 2.A.BC to newer kernel 2.A.YZ?
4. Also, if I update gcc from 4.1 to 4.3 then do an "emerge -eav world", I should recompile my kernel also or my kernel modules will fail to load, if I understand correctly. So in this case, I would want to recompile my kernel with the exact same options I manually selected the previous time. If this is not answered in the previous questions, please address this also.
Last edited: