From: Mike Frysinger Date: Mon, 18 Feb 2008 10:10:07 +0000 (-0500) Subject: error check autoconf.mk generation X-Git-Tag: v1.3.2-rc2~20 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=16fe77752eee099b9fb61ed73460e51cc94b37ba;p=oweals%2Fu-boot.git 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 --- diff --git a/Makefile b/Makefile index 82d3ab409a..7d35d14aa9 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 ; \