kernel: replace SUBDIRS with M in package recipes
[openwrt/openwrt.git] / package / kernel / hwmon-gsc / Makefile
index 3888a2f17e7a0ee72f2bd3543cd1122e60c03c2c..454f685f8f409f9ac1a5edd6b59dd00f77400081 100644 (file)
@@ -21,7 +21,7 @@ endef
 define Build/Compile
        $(MAKE) -C "$(LINUX_DIR)" \
                $(KERNEL_MAKE_FLAGS) \
-               SUBDIRS="$(PKG_BUILD_DIR)" \
+               M="$(PKG_BUILD_DIR)" \
                EXTRA_CFLAGS="$(BUILDFLAGS)" \
                modules
 endef