From: David Bauer Date: Tue, 10 Mar 2020 23:46:42 +0000 (+0100) Subject: ksmbd: replace SUBDIRS with M in package recipe X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=3154c27cf7591ff8688d8d6873a02602c7aa66f0;p=openwrt-packages.git ksmbd: replace SUBDIRS with M in package recipe 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 --- diff --git a/kernel/ksmbd/Makefile b/kernel/ksmbd/Makefile index 6a00b9ccc..f862c155c 100644 --- a/kernel/ksmbd/Makefile +++ b/kernel/ksmbd/Makefile @@ -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 \