* [Buildroot] Ensuring kernel symbols for a module
2017-08-14 7:28 [Buildroot] Ensuring kernel symbols for a module Angelo Compagnucci
@ 2017-08-14 8:21 ` Thomas Petazzoni
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2017-08-14 8:21 UTC (permalink / raw)
To: buildroot
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
^ permalink raw reply [flat|nested] 2+ messages in thread