diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2012-06-07 13:02:30 +0930 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2012-07-25 13:35:33 +0100 |
commit | 8a56aa5422b0fbf5ff8750e4a13d6d06f805b4fa (patch) | |
tree | 1f3a32228e79c0a4fcb5dc147a3a91930b4976f3 | |
parent | d6610fb6d231719b288bbdb170437695130760dd (diff) |
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-- | Makefile | 1 | ||||
-rwxr-xr-x | configure | 1 |
2 files changed, 2 insertions, 0 deletions
@@ -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 @@ -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 |