package/systemd: add --enable/disable-lz4
authorGabe Evans <gabe@hashrabbit.co>
Thu, 25 Feb 2016 21:55:13 +0000 (21:55 +0000)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Mon, 29 Feb 2016 21:45:55 +0000 (22:45 +0100)
Signed-off-by: Gabe Evans <gabe@hashrabbit.co>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/systemd/Config.in
package/systemd/systemd.mk

index b7eca3a64be8e02435cf640f82ae975922e177a4..afa598b2ce4ef268d84e090535e2511ca2e78e32 100644 (file)
@@ -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.
 
index 3dffbc9544d2ab9b60bacd406a46b191b190d87c..16c4d52ae9e85228f3dafd190cfaf6d86323a953 100644 (file)
@@ -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