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

index 11b30b6d7b2a9541e2642fcb3e8a7e56881ac3d0..08d93d277f5c6a79d684c590ea628a77854dd9a2 100644 (file)
@@ -37,7 +37,7 @@ define Build/Compile
        $(MAKE) -C "$(LINUX_DIR)" \
                ARCH="$(LINUX_KARCH)" \
                CROSS_COMPILE="$(TARGET_CROSS)" \
-               SUBDIRS="$(PKG_BUILD_DIR)" \
+               M="$(PKG_BUILD_DIR)" \
                V="$(V)" \
                modules
 endef