[Buildroot] [git commit] weston: handle libxml2 dependency

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Wed Mar 30 15:01:14 UTC 2016


commit: https://git.buildroot.net/buildroot/commit/?id=8802a5ffca69eb295c408c8b19351ea0d135eb2d
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

It's used for JUnit XML output support.

Signed-off-by: Gustavo Zacarias <gustavo at zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
---
 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))


More information about the buildroot mailing list