mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-18 21:21:37 +00:00
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>
This commit is contained in:
parent
019895a8de
commit
16fe77752e
1 changed files with 1 additions and 0 deletions
1
Makefile
1
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 ; \
|
||||
|
|
Loading…
Add table
Reference in a new issue