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>
This commit is contained in:
parent
ad42eef0a5
commit
8802a5ffca
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user