package/systemd: add optional support for qrencode

The support of qrencode depends of the journal gateway feature as it is
used to display the key used to seal the journal.

Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
Maxime Hadjinlian 2016-07-01 23:51:24 +02:00 committed by Thomas Petazzoni
parent 62db4520cf
commit 46d27602ff

View File

@ -141,8 +141,14 @@ endif
ifeq ($(BR2_PACKAGE_SYSTEMD_JOURNAL_GATEWAY),y) ifeq ($(BR2_PACKAGE_SYSTEMD_JOURNAL_GATEWAY),y)
SYSTEMD_DEPENDENCIES += libmicrohttpd SYSTEMD_DEPENDENCIES += libmicrohttpd
SYSTEMD_CONF_OPTS += --enable-microhttpd SYSTEMD_CONF_OPTS += --enable-microhttpd
ifeq ($(BR2_PACKAGE_LIBQRENCODE),y)
SYSTEMD_CONF_OPTS += --enable-qrencode
SYSTEMD_DEPENDENCIES += libqrencode
else else
SYSTEMD_CONF_OPTS += --disable-microhttpd SYSTEMD_CONF_OPTS += --disable-qrencode
endif
else
SYSTEMD_CONF_OPTS += --disable-microhttpd --disable-qrencode
endif endif
ifeq ($(BR2_PACKAGE_SYSTEMD_HWDB),y) ifeq ($(BR2_PACKAGE_SYSTEMD_HWDB),y)