Results 1 to 1 of 1
Hi,
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 ...
- 11-23-2011 #1Just Joined!
- Join Date
- Nov 2011
- Posts
- 1
Kernel module Makefile: how to use tmp build dir
Hi,
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.
Cheers!


Reply With Quote
