I am currently compiling a driver in openwrt, where I have to build 5 "ko" inside the driver directory.
During make it is not recognizing the "all: inside my kernel modules. But my dependencies foe all i.e, dep1 and dep2 are getting done.
But when I point M=$(DRIVER_DIR)/Module1 in my MAKE_OPTS, all: is getting hit for that module alone.
Is there a way or I am missing out something?
My make options is as below in my package makefile.
EXTRA_CFLAGS="$(EXTRA_CFLAGS) $(LOCAL_CFLAGS) $(L_CFLAGS)"
Thanks in advance for your comments!