Results 1 to 1 of 1
Enjoy an ad free experience by logging in. Not a member yet? Register.
- Join Date
- Nov 2011
Kernel module Makefile: how to use tmp build dir
I'm trying to buil a kernel module with source
files organized in source/ and include/ directories.
I know how to specify the include directory in the Module Makefile, but I can't control where the object files and other intermediate build files must be put. Now, the objects are just created in the . dir and the source/ dir, but I would like all of them to be in a separate build/ directory.
Is this possible? I currently use some mv instructions after the build rule in the Makefile, but thats not very elegant?
Thanks for any feedback.