kernel compile with spec. config
Hello
i got a silly newbee question regarding kernel compiling. At home i have created an kernel config by using make xconfig and saved it to disk. Know i am at work and would like to let our fast server compile the kernel and modules. But i don't know how to tell make to use the config file.... Best Regards Sam |
Simple, you move the configuration file from the disk to some spot on the fast machine's filesystem.
On the fast machine, start the kernel configuration process again (with menuconfig or xconfig). At the bottom of the kernel options, there should be a "Load Alternate Configuration" choice. Choose it, and then give the path to the configuration file you copied over. |
well okay... maybee my question was not exactly enough :)
i mean without using xconfig or menuconfig, because wether ncurses nor Xfree is installed |
I'm fairly certain you would simply rename your configuration file to ".config" in the top level of the kernel's source.
A couple of questions though: is the server the same architecture as the machine you're compiling for? If not, you'll have to do cross-compiling. Is the server running linux? If not, then the Makefile could fail. I'm sure there are various commands sprinkled throughout the makefile. I'd be almost 99.9% positive "make deps" would use sed, mv, or other commands to rearrange the source based on the configuration that's been chosen. |
All times are GMT -5. The time now is 12:04 AM. |