aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2012-06-07 13:02:30 +0930
committerPeter Maydell <peter.maydell@linaro.org>2012-07-25 13:35:33 +0100
commit8a56aa5422b0fbf5ff8750e4a13d6d06f805b4fa (patch)
tree1f3a32228e79c0a4fcb5dc147a3a91930b4976f3
parentd6610fb6d231719b288bbdb170437695130760dd (diff)
downloadqemu-arm-8a56aa5422b0fbf5ff8750e4a13d6d06f805b4fa.tar.gz
configure, Makefile: don't require binary blobs to be present
In configure and Makefile, don't insist on the presence of the binary blobs in pc-bios, but silently skip any which aren't present. This allows us to delete them from the repository without causing build failures. Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
-rw-r--r--Makefile1
-rwxr-xr-xconfigure1
2 files changed, 2 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index ab82ef3dcb..9ee45ef133 100644
--- a/Makefile
+++ b/Makefile
@@ -312,6 +312,7 @@ ifneq ($(HELPERS-y),)
endif
ifneq ($(BLOBS),)
set -e; for x in $(BLOBS); do \
+ [ -e "$(SRC_PATH)/pc-bios/$$x" ] || continue; \
$(INSTALL_DATA) $(SRC_PATH)/pc-bios/$$x "$(DESTDIR)$(qemu_datadir)"; \
done
endif
diff --git a/configure b/configure
index 066b4a064b..2895d09e0f 100755
--- a/configure
+++ b/configure
@@ -4001,6 +4001,7 @@ for bios_file in \
$source_path/pc-bios/openbios-* \
$source_path/pc-bios/palcode-*
do
+ [ -e "$bios_file" ] || continue
FILES="$FILES pc-bios/`basename $bios_file`"
done
mkdir -p $DIRS