kernel: replace SUBDIRS with M in package recipes
[openwrt/staging/wigyori.git] / package / kernel / button-hotplug / Makefile
index 2554ae61dd94d6770b6c2ea86217334a73597270..55412e56854219eefe01ba121f992dbb9dcd2635 100644 (file)
@@ -37,7 +37,7 @@ EXTRA_CFLAGS:= \
 
 MAKE_OPTS:= \
        $(KERNEL_MAKE_FLAGS) \
-       SUBDIRS="$(PKG_BUILD_DIR)" \
+       M="$(PKG_BUILD_DIR)" \
        EXTRA_CFLAGS="$(EXTRA_CFLAGS)" \
        $(EXTRA_KCONFIG)