From: David Bauer Date: Tue, 10 Mar 2020 23:47:50 +0000 (+0100) Subject: libpfring: replace SUBDIRS with M in package recipe X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=9515ddadffbe53ad4f060208bd384008d312572b;p=feed%2Fpackages.git libpfring: 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/libs/libpfring/Makefile b/libs/libpfring/Makefile index e82297f20c..d967c0a785 100644 --- a/libs/libpfring/Makefile +++ b/libs/libpfring/Makefile @@ -66,7 +66,7 @@ define Build/Compile KERNEL_DIR="$(LINUX_DIR)" \ ARCH="$(LINUX_KARCH)" \ CROSS_COMPILE="$(TARGET_CROSS)" \ - SUBDIRS="$(PKG_BUILD_DIR)/kernel" \ + M="$(PKG_BUILD_DIR)/kernel" \ EXTRA_CFLAGS="$(EXTRA_CFLAGS) -I$(PKG_BUILD_DIR)/kernel" \ modules $(call Build/Compile/Default)