From: Michael Nosthoff Date: Wed, 14 Oct 2020 15:12:49 +0000 (+0200) Subject: package/systemd: use libqrencode independently of remote tools X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c572e797a03f9a4c37e779d8e8960b411778494a;p=buildroot.git package/systemd: use libqrencode independently of remote tools systemds libqrencode support is independent from journal-gatewayd. In v247 it will additionally be used in homectl for recovery key generation. Signed-off-by: Michael Nosthoff Signed-off-by: Thomas Petazzoni --- diff --git a/package/systemd/systemd.mk b/package/systemd/systemd.mk index 30e28adf95..b684f538a8 100644 --- a/package/systemd/systemd.mk +++ b/package/systemd/systemd.mk @@ -243,14 +243,8 @@ endif ifeq ($(BR2_PACKAGE_SYSTEMD_JOURNAL_GATEWAY),y) SYSTEMD_DEPENDENCIES += libmicrohttpd SYSTEMD_CONF_OPTS += -Dmicrohttpd=true -ifeq ($(BR2_PACKAGE_LIBQRENCODE),y) -SYSTEMD_CONF_OPTS += -Dqrencode=true -SYSTEMD_DEPENDENCIES += libqrencode else -SYSTEMD_CONF_OPTS += -Dqrencode=false -endif -else -SYSTEMD_CONF_OPTS += -Dmicrohttpd=false -Dqrencode=false +SYSTEMD_CONF_OPTS += -Dmicrohttpd=false endif ifeq ($(BR2_PACKAGE_SYSTEMD_JOURNAL_REMOTE),y) @@ -260,6 +254,13 @@ else SYSTEMD_CONF_OPTS += -Dremote=false endif +ifeq ($(BR2_PACKAGE_LIBQRENCODE),y) +SYSTEMD_DEPENDENCIES += libqrencode +SYSTEMD_CONF_OPTS += -Dqrencode=true +else +SYSTEMD_CONF_OPTS += -Dqrencode=false +endif + ifeq ($(BR2_PACKAGE_LIBSELINUX),y) SYSTEMD_DEPENDENCIES += libselinux SYSTEMD_CONF_OPTS += -Dselinux=true