How do I compile multiple files in kernel modules (files functions in other functions)?
I am asking to explain the meaning of your question, you add multiple compilation units to a module Want to
Many examples of this in the kernel source code; Its general summary of Makefile
like
OBG - $ (CONFIG_FOO) + = foo.o foo-objs: bar.o
This will link to
foo.o
andbar.o
forfoo.ko
ifCONFIG_FOO = m < / Code>. See for more detailed explanation.
Comments
Post a Comment