From 93ee95b4f0d392ad395acc1a2329bb26d4612992 Mon Sep 17 00:00:00 2001 From: Ryan Barnett Date: Sun, 5 Apr 2015 17:10:10 -0500 Subject: [PATCH] systemd: add option to enable kdbus support In the future when the kernel offically supports kdbus, this option should automatically enable the kernel kdbus config option(s). Signed-off-by: Ryan Barnett Tested-by: Mike Williams Signed-off-by: Thomas Petazzoni --- package/systemd/Config.in | 5 +++++ package/systemd/systemd.mk | 6 ++++++ 2 files changed, 11 insertions(+) diff --git a/package/systemd/Config.in b/package/systemd/Config.in index 303cf2226c..510baddae7 100644 --- a/package/systemd/Config.in +++ b/package/systemd/Config.in @@ -73,6 +73,11 @@ config BR2_PACKAGE_SYSTEMD_ALL_EXTRAS Enable extra features for Systemd: journal compression and signing. +config BR2_PACKAGE_SYSTEMD_KDBUS + bool "enable kdbus support" + help + Enable kdbus support for Systemd. + config BR2_PACKAGE_SYSTEMD_JOURNAL_GATEWAY bool "HTTP server for journal events" select BR2_PACKAGE_LIBMICROHTTPD diff --git a/package/systemd/systemd.mk b/package/systemd/systemd.mk index 5c9effa9ff..b62fc088f6 100644 --- a/package/systemd/systemd.mk +++ b/package/systemd/systemd.mk @@ -71,6 +71,12 @@ else SYSTEMD_CONF_OPTS += --disable-seccomp endif +ifeq ($(BR2_PACKAGE_SYSTEMD_KDBUS),y) +SYSTEMD_CONF_OPTS += --enable-kdbus +else +SYSTEMD_CONF_OPTS += --disable-kdbus +endif + ifeq ($(BR2_PACKAGE_SYSTEMD_ALL_EXTRAS),y) SYSTEMD_DEPENDENCIES += xz libgcrypt SYSTEMD_CONF_OPTS += \ -- 2.30.2