linux - compiling multiple files in netfilter -


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 and bar.o for foo.ko if CONFIG_FOO = m < / Code>. See for more detailed explanation.


Comments