Building kernel modules in subdirectories

Hi,
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.

MAKE_PATH=$(DRIVER_DIR)
MAKE_OPTS:=
$(MADWIFI_MAKE_OPT)
$(KERNEL_MAKE_FLAGS)
M="$(MAKE_PATH)"
EXTRA_CFLAGS="$(EXTRA_CFLAGS) $(LOCAL_CFLAGS) $(L_CFLAGS)"
$(EXTRA_KCONFIG)

Thanks in advance for your comments!