Make unknown files cause an error immediately

This commit is contained in:
Hamish Coleman 2017-06-16 16:36:27 +08:00
parent c9d9dcb61e
commit f78f9c2419

View File

@ -174,7 +174,8 @@ $(DEPSDIR)/slice.insert.deps: Makefile
# Download any ISO image that we have a checksum for
# NOTE: makes an assumption about the Lenovo URL not changing
%.iso.orig:
$(info Downloading $(shell scripts/describe $@))
@echo -n "Downloading "
@scripts/describe $@
wget -O $@ https://download.lenovo.com/pccbbs/mobiles/$(basename $@)
scripts/checksum --rm_on_fail $@
touch $@