From 9515ddadffbe53ad4f060208bd384008d312572b Mon Sep 17 00:00:00 2001 From: David Bauer Date: Wed, 11 Mar 2020 00:47:50 +0100 Subject: [PATCH] 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 --- libs/libpfring/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/libpfring/Makefile b/libs/libpfring/Makefile index e82297f20..d967c0a78 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)