kernel: replace SUBDIRS with M in package recipes
[openwrt/staging/lynxis.git] / package / kernel / mt76 / Makefile
index 4e1ec915bbfbb817e23c9897cd5640183d7f07f4..e9ad96dcf7dc9a61cc675e28565ad786b2475901 100644 (file)
@@ -202,7 +202,7 @@ define Build/Compile
        +$(MAKE) $(PKG_JOBS) -C "$(LINUX_DIR)" \
                $(KERNEL_MAKE_FLAGS) \
                $(PKG_MAKE_FLAGS) \
-               SUBDIRS="$(PKG_BUILD_DIR)" \
+               M="$(PKG_BUILD_DIR)" \
                NOSTDINC_FLAGS="$(NOSTDINC_FLAGS)" \
                modules
 endef