Results 1 to 3 of 3
I am going to write an I/O Scheduler for Linux kernel. I have already compiled the whole kernel before without any modification to the kernel source code. I have reached ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 04-13-2014 #1
- Join Date
- Mar 2014
How to compile only one file of kernel source code instead of compilin
Any help would be greatly appreciated!
Thanks a lot, Ricky Ben
- 04-13-2014 #2
- Join Date
- Apr 2009
- I can be found either 40 miles west of Chicago, in Chicago, or in a galaxy far, far away.
The associated Makefile(s) should know what components have changed, and only require building/re-linking those, provided you have not cleaned the build tree (make clean). Alternatively, you can cd into the appropriate source directory and only make that one, assuming it is a loadable, and not built-in, module.Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!
- 04-14-2014 #3
make checks timestamps and only compiles changed files. So you can run the touch tool to change the timestamp on the file you want to compile and then run make.A lion does not lose sleep, over the opinion of sheep.