kernel: replace SUBDIRS with M in package recipes
[openwrt/staging/ldir.git] / package / kernel / mwlwifi / Makefile
index aa8eea0450a2e16a460c2f18af1fa6a3dcc07a0c..b9e0e75690bc80dbfa0a6a0c8238d3736ee97a1f 100644 (file)
@@ -44,7 +44,7 @@ NOSTDINC_FLAGS = \
 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