Hello All, I have this particular directory Hierarchy
foo | |__ include(directory) | |__kernel(directory) | |__user_space(directory) Include directory has the header file which is required by both the kernel space code and the user space code kernel has a character device driver, and a kern_make_file.mk to compile the chardev user_space has the user space code, make_file and the configure script. I want to compile the chardev using the user space make file for this I added a line "include kern_make_file.mk" in the user space make file but it is giving me the warnings and does not compile the user space code the warnings are : Makefile:16: warning: overriding commands for target `all' ../kernel/make_kernel.mk:8: warning: ignoring old commands for target `all' Moreover I would like to know wether it is possible to compile the user space code and kernel space code in one make file -- Regards, Rishi B. Agrawal http://www.linkedin.com/in/rishibagrawal http://code.google.com/p/fscops/