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!