summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Schodet2016-05-03 14:44:25 +0200
committerNicolas Schodet2019-10-07 00:44:57 +0200
commit8941d7d24a2b3e69e5959c655b273f7acbb3b46e (patch)
tree847e6d8196b9fdc247bfb08ddfba9734c2c631c3
parent90bdcdb391996efa70c2df0d3ec49303dd0daa0c (diff)
build: stop building .hex and .lst by default
-rw-r--r--build/arch.mk6
1 files changed, 5 insertions, 1 deletions
diff --git a/build/arch.mk b/build/arch.mk
index b52bdbe..f944c70 100644
--- a/build/arch.mk
+++ b/build/arch.mk
@@ -79,7 +79,9 @@ endef
define arch_lst_rules
lst: lst.$1
+ifneq ($$(wildcard *.$1.lst),)
all.$1: lst.$1
+endif
.PHONY: lst.$1
@@ -101,8 +103,10 @@ hex: hex.$1
srec: srec.$1
bin: bin.$1
crc: crc.$1
-all.$1: hex.$1
+ifneq ($$(wildcard *.$1.hex),)
+all.$1: hex.$1
+endif
ifneq ($$(wildcard *.$1.srec),)
all.$1: srec.$1
endif