diff options
author | Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org> | 2012-07-23 22:40:01 +0159 |
---|---|---|
committer | Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org> | 2014-02-15 13:36:01 +0100 |
commit | 592e45fe61fcc12ef899e6c3971961b5a8e67277 (patch) | |
tree | c022d97a4985a5309627768efd5003ce8c98eaf7 | |
parent | 479148e18389b467bb6ed59ba641f44ebdd38440 (diff) | |
download | build-592e45fe61fcc12ef899e6c3971961b5a8e67277.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.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/definitions.mk b/core/definitions.mk index 290bb2f451..abe3496fd1 100644 --- a/core/definitions.mk +++ b/core/definitions.mk @@ -1763,7 +1763,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 |