1
vote
1answer
726 views

Where should I put the source files?

I am starting to develop a custom kernel modules, so I have the two related organizational questions: Where should I put all my source files? I keep the sources in home directory now ...
2
votes
1answer
1k views

How to get Linux kernel vermagic from a source tree?

It is used when installing to /lib/modules It is printed after make modules_install Part of it is returned by scripts/setlocalversion. How to just get it without running make modules_install?