Commit 16fe7775 authored by Mike Frysinger's avatar Mike Frysinger Committed by Wolfgang Denk
Browse files

error check generation

If any of the steps for generating 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: default avatarMike Frysinger <>
parent 019895a8
......@@ -414,6 +414,7 @@ $(obj) $(obj)u-boot
# to regenerate the file.
$(obj)include/ $(obj)include/config.h $(VERSION_FILE)
@$(XECHO) Generating include/ ; \
set -e ; \
: Generate the dependancies ; \
$(CC) -M $(HOST_CFLAGS) $(CPPFLAGS) -MQ $@ include/common.h > $@.dep ; \
: Extract the config macros ; \
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment