summaryrefslogtreecommitdiffstats
path: root/package/weston
diff options
context:
space:
mode:
authorGustavo Zacarias <gustavo@zacarias.com.ar>2016-03-29 11:39:09 -0300
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2016-03-30 17:01:14 +0200
commitad42eef0a5a3eb2af5115eb6036563e4cd4d1562 (patch)
treef043a010b7933707e87d879a79e926a921170058 /package/weston
parent70f9bc8d4f177e991441cabb63e1a9c14f995cd7 (diff)
downloadbuildroot-ad42eef0a5a3eb2af5115eb6036563e4cd4d1562.tar.gz
buildroot-ad42eef0a5a3eb2af5115eb6036563e4cd4d1562.zip
weston: handle systemd dependency
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/weston')
-rw-r--r--package/weston/weston.mk7
1 files changed, 7 insertions, 0 deletions
diff --git a/package/weston/weston.mk b/package/weston/weston.mk
index de734e033c..9313fcccbc 100644
--- a/package/weston/weston.mk
+++ b/package/weston/weston.mk
@@ -109,4 +109,11 @@ else
WESTON_CONF_OPTS += --disable-lcms
endif
+ifeq ($(BR2_PACKAGE_SYSTEMD),y)
+WESTON_CONF_OPTS += --enable-systemd-login --enable-systemd-notify
+WESTON_DEPENDENCIES += systemd
+else
+WESTON_CONF_OPTS += --disable-systemd-login --disable-systemd-notify
+endif
+
$(eval $(autotools-package))
OpenPOWER on IntegriCloud