aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org>2012-07-23 22:40:01 +0159
committerAmit Pundir <amit.pundir@linaro.org>2013-07-25 07:44:38 +0530
commit5a5c9d2c74361262102f76cfbdbd37e6aecda9da (patch)
tree19e9ecc6161c43c64842315e7aaf576cf009e2e3
parente86b06efd68b929095e5da6b5c8539b8e9089bda (diff)
downloadbuild-5a5c9d2c74361262102f76cfbdbd37e6aecda9da.tar.gz
definitions.mk: Don't fail if xmllint isn't installed
This is a workaround for xmllint currently not being installed on the build slaves. It should be reverted when this is fixed, as it eliminates a check for sane code. Change-Id: I46eeadebd931ee1b6812a9eb933ee4b56ebd16a7 Signed-off-by: Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org>
-rw-r--r--core/definitions.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/definitions.mk b/core/definitions.mk
index 7834baa4d0..edc8400d51 100644
--- a/core/definitions.mk
+++ b/core/definitions.mk
@@ -1784,7 +1784,7 @@ endef
define copy-xml-file-checked
$(2): $(1) | $(ACP)
@echo "Copy xml: $$@"
- $(hide) xmllint $$< >/dev/null # Don't print the xml file to stdout.
+ $(hide) if which xmllint &>/dev/null; then xmllint $$< >/dev/null; fi # Don't print the xml file to stdout.
$$(copy-file-to-target)
endef