是否可以从几个源文件构建内核模块,其中一个源文件与模块同名?
例如:我想使用以下源文件构建"mymodule.ko": mymodule.c mymodule_func.c
这个makefile不起作用:
#Makefile obj-m += mymodule.o mymodule-objs := mymodule.o mymodule_func.o
谢谢
c linux makefile linux-kernel
c ×1
linux ×1
linux-kernel ×1
makefile ×1