kernel: replace SUBDIRS with M in package recipes
[openwrt/staging/blogic.git] / package / kernel / rtl8812au-ct / Makefile
index 2d7cfebd54a84afb1da7fbe86dae2c55a463b230..b7f6d225b12ab0a1fc751c6d5e333d6c97e448f1 100644 (file)
@@ -45,7 +45,7 @@ NOSTDINC_FLAGS+=-DCONFIG_IOCTL_CFG80211 -DRTW_USE_CFG80211_STA_EVENT -DBUILD_OPE
 define Build/Compile
        +$(MAKE) $(PKG_JOBS) -C "$(LINUX_DIR)" \
                $(KERNEL_MAKE_FLAGS) \
-               SUBDIRS="$(PKG_BUILD_DIR)" \
+               M="$(PKG_BUILD_DIR)" \
                NOSTDINC_FLAGS="$(NOSTDINC_FLAGS)" \
                modules
 endef