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 <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
Fabrice Fontaine 2022-06-06 09:48:17 +02:00 committed by Peter Korsgaard
parent 2bee0f3459
commit 2c05de430e

View File

@ -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))