Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Keith Mok <ek9852@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1/1] systemd: add optional dependency on elfutils
Date: Mon, 20 Aug 2018 18:29:20 -0700	[thread overview]
Message-ID: <20180821012920.91804-1-ek9852@gmail.com> (raw)

systemd can use elfutils when available, so this commit adds the
detection of this library.

Signed-off-by: Keith Mok <ek9852@gmail.com>
---
 package/systemd/systemd.mk | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/package/systemd/systemd.mk b/package/systemd/systemd.mk
index d7031ed21d..4813496670 100644
--- a/package/systemd/systemd.mk
+++ b/package/systemd/systemd.mk
@@ -65,6 +65,13 @@ else
 SYSTEMD_CONF_OPTS += -Daudit=false
 endif
 
+ifeq ($(BR2_PACKAGE_ELFUTILS),y)
+SYSTEMD_DEPENDENCIES += elfutils
+SYSTEMD_CONF_OPTS += -Delfutils=true
+else
+SYSTEMD_CONF_OPTS += -Delfutils=false
+endif
+
 # Both options can't be selected at the same time so prefer libidn2
 ifeq ($(BR2_PACKAGE_LIBIDN2),y)
 SYSTEMD_DEPENDENCIES += libidn2
-- 
2.15.2 (Apple Git-101.1)

             reply	other threads:[~2018-08-21  1:29 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-08-21  1:29 Keith Mok [this message]
2018-08-21  9:19 ` [Buildroot] [PATCH 1/1] systemd: add optional dependency on elfutils Thomas Petazzoni

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=20180821012920.91804-1-ek9852@gmail.com \
    --to=ek9852@gmail.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