From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] Ensuring kernel symbols for a module
Date: Mon, 14 Aug 2017 10:21:33 +0200 [thread overview]
Message-ID: <20170814102133.69cadf52@windsurf> (raw)
In-Reply-To: <CA+TH9VmJgw6f0ugPmunZh4c0mjwrTZ5xiLDHNrVt-9vnEsrbJQ@mail.gmail.com>
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
prev parent reply other threads:[~2017-08-14 8:21 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-08-14 7:28 [Buildroot] Ensuring kernel symbols for a module Angelo Compagnucci
2017-08-14 8:21 ` Thomas Petazzoni [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170814102133.69cadf52@windsurf \
--to=thomas.petazzoni@free-electrons.com \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox