From: Gabe Evans Date: Thu, 25 Feb 2016 21:55:13 +0000 (+0000) Subject: package/systemd: add --enable/disable-lz4 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3734336b59f78051194bfda930f64e75b3f576aa;p=buildroot.git package/systemd: add --enable/disable-lz4 Signed-off-by: Gabe Evans Reviewed-by: Arnout Vandecappelle (Essensium/Mind) Signed-off-by: Thomas Petazzoni --- diff --git a/package/systemd/Config.in b/package/systemd/Config.in index b7eca3a64b..afa598b2ce 100644 --- a/package/systemd/Config.in +++ b/package/systemd/Config.in @@ -56,7 +56,8 @@ config BR2_PACKAGE_SYSTEMD The selection of other packages will enable some features: - acl package will add support for multi-seat. - - xz package will add compression support in journal and coredump. + - xz and/or l4 packages will add compression support in + journal and coredump. - libgcrypt package will add support for journal sealing and DNSSEC verification in resolved. diff --git a/package/systemd/systemd.mk b/package/systemd/systemd.mk index 3dffbc9544..16c4d52ae9 100644 --- a/package/systemd/systemd.mk +++ b/package/systemd/systemd.mk @@ -87,6 +87,13 @@ else SYSTEMD_CONF_OPTS += --disable-bzip2 endif +ifeq ($(BR2_PACKAGE_LZ4),y) +SYSTEMD_DEPENDENCIES += lz4 +SYSTEMD_CONF_OPTS += --enable-lz4 +else +SYSTEMD_CONF_OPTS += --disable-lz4 +endif + ifeq ($(BR2_PACKAGE_XZ),y) SYSTEMD_DEPENDENCIES += xz SYSTEMD_CONF_OPTS += --enable-xz