[Buildroot] [git commit branch/next] package/systemd: add --enable/disable-bzip2

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Mon Feb 29 21:44:43 UTC 2016


commit: https://git.buildroot.net/buildroot/commit/?id=22c571c7857a9e582e48ceceb20d1f50339c7848
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/next

Signed-off-by: Gabe Evans <gabe at hashrabbit.co>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout at mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
---
 package/systemd/systemd.mk | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/package/systemd/systemd.mk b/package/systemd/systemd.mk
index 9f2dc51..3dffbc9 100644
--- a/package/systemd/systemd.mk
+++ b/package/systemd/systemd.mk
@@ -80,6 +80,13 @@ else
 SYSTEMD_CONF_OPTS += --disable-kdbus
 endif
 
+ifeq ($(BR2_PACKAGE_BZIP2),y)
+SYSTEMD_DEPENDENCIES += bzip2
+SYSTEMD_CONF_OPTS += --enable-bzip2
+else
+SYSTEMD_CONF_OPTS += --disable-bzip2
+endif
+
 ifeq ($(BR2_PACKAGE_XZ),y)
 SYSTEMD_DEPENDENCIES += xz
 SYSTEMD_CONF_OPTS += --enable-xz


More information about the buildroot mailing list