mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-30 22:11:59 -09:00
systemd: add optional dependency on elfutils
systemd can use elfutils when available, so this commit adds the detection of this library. Signed-off-by: Keith Mok <ek9852@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
committed by
Thomas Petazzoni
parent
38de434123
commit
0d609585ff
@@ -65,6 +65,13 @@ else
|
|||||||
SYSTEMD_CONF_OPTS += -Daudit=false
|
SYSTEMD_CONF_OPTS += -Daudit=false
|
||||||
endif
|
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
|
# Both options can't be selected at the same time so prefer libidn2
|
||||||
ifeq ($(BR2_PACKAGE_LIBIDN2),y)
|
ifeq ($(BR2_PACKAGE_LIBIDN2),y)
|
||||||
SYSTEMD_DEPENDENCIES += libidn2
|
SYSTEMD_DEPENDENCIES += libidn2
|
||||||
|
|||||||
Reference in New Issue
Block a user