From 2c05de430eaff1d2839e15465ba821eea968a858 Mon Sep 17 00:00:00 2001 From: Fabrice Fontaine Date: Mon, 6 Jun 2022 09:48:17 +0200 Subject: [PATCH] package/lttng-modules: needs CONFIG_KPROBES Fix the following build failure: /nvmedata/autobuild/instance-18/output-1/build/lttng-modules-2.13.1/./src/wrapper/kallsyms.c:20:3: error: #error "LTTng-modules requires CONFIG_KPROBES on kernels >= 5.7.0" 20 | # error "LTTng-modules requires CONFIG_KPROBES on kernels >= 5.7.0" | ^~~~~ Fixes: - http://autobuild.buildroot.org/results/a733056d59f15573698c191562afced3f7a331ee Signed-off-by: Fabrice Fontaine Signed-off-by: Peter Korsgaard --- package/lttng-modules/lttng-modules.mk | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/package/lttng-modules/lttng-modules.mk b/package/lttng-modules/lttng-modules.mk index 4c1c50d0a0..d527bc19ef 100644 --- a/package/lttng-modules/lttng-modules.mk +++ b/package/lttng-modules/lttng-modules.mk @@ -12,5 +12,9 @@ LTTNG_MODULES_LICENSE_FILES = \ LICENSES/LGPL-2.1 LICENSES/GPL-2.0 LICENSES/MIT LICENSE LTTNG_MODULES_MODULE_MAKE_OPTS = CONFIG_LTTNG=m CONFIG_LTTNG_CLOCK_PLUGIN_TEST=m +define LTTNG_MODULES_LINUX_CONFIG_FIXUPS + $(call KCONFIG_ENABLE_OPT,CONFIG_KPROBES) +endef + $(eval $(kernel-module)) $(eval $(generic-package))