Explorar o código

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>
Gustavo Zacarias %!s(int64=9) %!d(string=hai) anos
pai
achega
8802a5ffca
Modificáronse 1 ficheiros con 7 adicións e 0 borrados
  1. 7 0
      package/weston/weston.mk

+ 7 - 0
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))