[Buildroot] Ensuring kernel symbols for a module
Thomas Petazzoni
thomas.petazzoni at free-electrons.com
Mon Aug 14 08:21:33 UTC 2017
Hello,
On Mon, 14 Aug 2017 09:28:36 +0200, Angelo Compagnucci wrote:
> I'm looking for a way to ensure kernel symbols are present for the
> sysdig kernel module (CONFIG_TRACEPOINTS
> CONFIG_HAVE_SYSCALL_TRACEPOINTS). Is there a simple way to express
> such a dependency?
You can add more logic in linux/linux.mk. See:
$(if $(BR2_PACKAGE_KTAP),
$(call KCONFIG_ENABLE_OPT,CONFIG_DEBUG_FS,$(@D)/.config)
$(call KCONFIG_ENABLE_OPT,CONFIG_ENABLE_DEFAULT_TRACERS,$(@D)/.config)
$(call KCONFIG_ENABLE_OPT,CONFIG_PERF_EVENTS,$(@D)/.config)
$(call KCONFIG_ENABLE_OPT,CONFIG_FUNCTION_TRACER,$(@D)/.config))
for example.
Best regards,
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
More information about the buildroot
mailing list