summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGustavo Zacarias <gustavo@zacarias.com.ar>2016-03-29 11:39:10 -0300
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2016-03-30 17:01:14 +0200
commit8802a5ffca69eb295c408c8b19351ea0d135eb2d (patch)
tree59a87ec0631011ac36eb6ba561b84147443a0c09
parentad42eef0a5a3eb2af5115eb6036563e4cd4d1562 (diff)
downloadbuildroot-8802a5ffca69eb295c408c8b19351ea0d135eb2d.tar.gz
buildroot-8802a5ffca69eb295c408c8b19351ea0d135eb2d.zip
weston: handle libxml2 dependency
It's used for JUnit XML output support. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-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 9313fcccbc..2891fe3246 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))
OpenPOWER on IntegriCloud