Question on compiling a kernel Module

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



I have the following source tree, objective is to get a single kernel
module.ko object.


module folder has a Makefile, it may or may not have *.c files, it
invokes sub-* Makefiles
which build respective objects, these objects need to go into objs
folder, finally makefile in 'objs'
builds the module.ko linking all sub-module *.o.

I could not find much information for my requirement in the file

any information with an example for my requirement is greatly
appreciated. Also let me know
how do I expose module/include in sub-module/ c files, looks like
-I../include is not working

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at
Please read the FAQ at

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux