[Buildroot] [PATCH v3 11/11] weston: handle libxml2 dependency
Gustavo Zacarias
gustavo at zacarias.com.ar
Tue Mar 29 14:39:10 UTC 2016
It's used for JUnit XML output support.
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 9313fcc..2891fe3 100644
--- a/package/weston/weston.mk
+++ b/package/weston/weston.mk
@@ -116,4 +116,11 @@ else
WESTON_CONF_OPTS += --disable-systemd-login --disable-systemd-notify
endif
+ifeq ($(BR2_PACKAGE_LIBXML2),y)
+WESTON_CONF_OPTS += --enable-junit-xml
+WESTON_DEPENDENCIES += libxml2
+else
+WESTON_CONF_OPTS += --disable-junit-xml
+endif
+
$(eval $(autotools-package))
--
2.7.3
More information about the buildroot
mailing list