* [Buildroot] [PATCH 1/1] systemd: add optional dependency on elfutils
@ 2018-08-21 1:29 Keith Mok
2018-08-21 9:19 ` Thomas Petazzoni
0 siblings, 1 reply; 2+ messages in thread
From: Keith Mok @ 2018-08-21 1:29 UTC (permalink / raw)
To: buildroot
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)
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [Buildroot] [PATCH 1/1] systemd: add optional dependency on elfutils
2018-08-21 1:29 [Buildroot] [PATCH 1/1] systemd: add optional dependency on elfutils Keith Mok
@ 2018-08-21 9:19 ` Thomas Petazzoni
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2018-08-21 9:19 UTC (permalink / raw)
To: buildroot
Hello,
On Mon, 20 Aug 2018 18:29:20 -0700, Keith Mok wrote:
> 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(+)
Applied to master, thanks.
Thomas
--
Thomas Petazzoni, CTO, Bootlin (formerly Free Electrons)
Embedded Linux and Kernel engineering
https://bootlin.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-08-21 9:19 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-08-21 1:29 [Buildroot] [PATCH 1/1] systemd: add optional dependency on elfutils Keith Mok
2018-08-21 9:19 ` Thomas Petazzoni
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox