summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2008-02-18 10:10:07 (GMT)
committerWolfgang Denk <wd@denx.de>2008-02-22 11:33:23 (GMT)
commit16fe77752eee099b9fb61ed73460e51cc94b37ba (patch)
tree9252ec480347d417e9735495e228e52b43b5c7b7
parent019895a8dee71a9f00da05c03e379f45d581b0fe (diff)
downloadu-boot-fsl-qoriq-16fe77752eee099b9fb61ed73460e51cc94b37ba.tar.xz
error check autoconf.mk generation
If any of the steps for generating autoconf.mk fail currently, they go unnoticed. To fix, we can simply add 'set -e' to the long list of commands. This is simpler and more robust than placing '|| exit $$?' after every line. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 82d3ab4..7d35d14 100644
--- a/Makefile
+++ b/Makefile
@@ -414,6 +414,7 @@ $(obj)System.map: $(obj)u-boot
# to regenerate the autoconf.mk file.
$(obj)include/autoconf.mk: $(obj)include/config.h $(VERSION_FILE)
@$(XECHO) Generating include/autoconf.mk ; \
+ set -e ; \
: Generate the dependancies ; \
$(CC) -M $(HOST_CFLAGS) $(CPPFLAGS) -MQ $@ include/common.h > $@.dep ; \
: Extract the config macros ; \