Skip to contentSkip to conversation

systemd: add optional dependency on elfutils

PATCH New Keith Mok 2 participants 2 messages Aug 21, 2018

lore
Share & tools
lore

Keith Mok

author
#0 lore raw

PATCH 1/1 systemd: add optional dependency on elfutils

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

---
 package/systemd/systemd.mk | 7 +++++++
 1 file changed, 7 insertions(+)
package/systemd/systemd.mk +7 -0
index d7031ed21d..4813496670 100644
@@ -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
Signature · 1 line
2.15.2 (Apple Git-101.1)
#1 lore raw

PATCH 1/1 systemd: add optional dependency on elfutils

Hello,

Quoted 7 lines · Keith Mok

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

---
 package/systemd/systemd.mk | 7 +++++++
 1 file changed, 7 insertions(+)

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin (formerly Free Electrons)
Embedded Linux and Kernel engineering
https://bootlin.com