From: Ryan Barnett Date: Sun, 5 Apr 2015 22:10:10 +0000 (-0500) Subject: systemd: add option to enable kdbus support X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=93ee95b4f0d392ad395acc1a2329bb26d4612992;p=buildroot.git 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 --- 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 += \