I recently find out a faster way to compile a single module in the Linux Kernel tree thanks to this post:
What I was doing before was taking much more time:
Or a pure make -j5, even if I had already compiled my Kernel once and just modified one module, was taking me ~5 minutes. So each tiny test I made (like changing a the contents of a string) was taking me that long, now it takes some seconds using the make modules SUBDIRS=path/to/module command \o/
To update the module I just copy the .ko to the right place:
It usually works if you made a simple change in the code. Or you can use the SUBDIRS too:
No comments:
Post a Comment