When build my driver under kernel 2.6.9.
How to let the “ld” link an existing file?
My makefile:
Obj-m := module.o
Module-objs := a.o b.o c.o
#c.o is an exist object file.
Default:
$(MAKE) -C $(KERNEL_SOURCE) SUBDIRS=$(PWD) modules
But the make do not know the c.o is existed and it request c.s.
Thanks
prop code?
Let me guess. c.o is something like a prop. piece of code? Yes? Then you should look at the nvidia's drivers for linux...