libpfring: replace SUBDIRS with M in package recipe
authorDavid Bauer <mail@david-bauer.net>
Tue, 10 Mar 2020 23:47:50 +0000 (00:47 +0100)
committerDavid Bauer <mail@david-bauer.net>
Tue, 10 Mar 2020 23:47:50 +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>
libs/libpfring/Makefile

index e82297f20cf48501058e2900fc2ea6251aacb409..d967c0a78503c313ddc4ccb056bb8e81c9880fb6 100644 (file)
@@ -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)