ksmbd: replace SUBDIRS with M in package recipe
authorDavid Bauer <mail@david-bauer.net>
Tue, 10 Mar 2020 23:46:42 +0000 (00:46 +0100)
committerDavid Bauer <mail@david-bauer.net>
Tue, 10 Mar 2020 23:47:19 +0000 (00:47 +0100)
The SUBDIRS variable has been removed in kernel 5.4, and was deprecated
since the beginnig of kernel git history in favour of M or KBUILD_EXTMOD.

Signed-off-by: David Bauer <mail@david-bauer.net>
kernel/ksmbd/Makefile

index 6a00b9ccc077bc4de897dd34356776ee363baed3..f862c155c6b07b780b063c1680460dc2e8431d99 100644 (file)
@@ -60,7 +60,7 @@ EXTRA_CFLAGS += -DCONFIG_SMB_INSECURE_SERVER=1
 endif
 
 define Build/Compile
-       $(KERNEL_MAKE) SUBDIRS="$(PKG_BUILD_DIR)" \
+       $(KERNEL_MAKE) M="$(PKG_BUILD_DIR)" \
        EXTRA_CFLAGS="$(EXTRA_CFLAGS)" \
        $(PKG_EXTRA_KCONFIG) \
        CONFIG_SMB_SERVER=m \