diff options
author | Maxime Hadjinlian <maxime.hadjinlian@gmail.com> | 2016-07-01 23:51:24 +0200 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2016-07-02 13:06:05 +0200 |
commit | 46d27602ffefcd503481e73a3bad759b89763f5b (patch) | |
tree | 6fbf40d4e7c464fd38785c2a0f535d179db3d011 /package/systemd | |
parent | 62db4520cf5e3a2190f6291f929a31ca1d522b50 (diff) | |
download | buildroot-46d27602ffefcd503481e73a3bad759b89763f5b.tar.gz buildroot-46d27602ffefcd503481e73a3bad759b89763f5b.zip |
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>
Diffstat (limited to 'package/systemd')
-rw-r--r-- | package/systemd/systemd.mk | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/package/systemd/systemd.mk b/package/systemd/systemd.mk index e57b595f6f..c79b64c717 100644 --- a/package/systemd/systemd.mk +++ b/package/systemd/systemd.mk @@ -141,8 +141,14 @@ endif ifeq ($(BR2_PACKAGE_SYSTEMD_JOURNAL_GATEWAY),y) SYSTEMD_DEPENDENCIES += libmicrohttpd SYSTEMD_CONF_OPTS += --enable-microhttpd +ifeq ($(BR2_PACKAGE_LIBQRENCODE),y) +SYSTEMD_CONF_OPTS += --enable-qrencode +SYSTEMD_DEPENDENCIES += libqrencode else -SYSTEMD_CONF_OPTS += --disable-microhttpd +SYSTEMD_CONF_OPTS += --disable-qrencode +endif +else +SYSTEMD_CONF_OPTS += --disable-microhttpd --disable-qrencode endif ifeq ($(BR2_PACKAGE_SYSTEMD_HWDB),y) |