[Buildroot] [PATCH v3 10/11] weston: handle systemd dependency
Gustavo Zacarias
gustavo at zacarias.com.ar
Tue Mar 29 14:39:09 UTC 2016
Signed-off-by: Gustavo Zacarias <gustavo at zacarias.com.ar>
---
package/weston/weston.mk | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/package/weston/weston.mk b/package/weston/weston.mk
index de734e0..9313fcc 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))
--
2.7.3
More information about the buildroot
mailing list