Makefile: add settings.mk to failed log output

This commit is contained in:
Tony Theodore 2013-08-07 20:50:44 +10:00
parent d6a0b0a47b
commit 8982ac6b9e
1 changed files with 6 additions and 1 deletions

View File

@ -226,7 +226,12 @@ $(PREFIX)/$(3)/installed/$(1): $(TOP_DIR)/src/$(1).mk \
echo '------------------------------------------------------------'; \
echo '[log] $(LOG_DIR)/$(1)'; \
echo; \
(echo; find '$(2)' -name 'config.log' -print -exec cat {} \;) >> '$(LOG_DIR)/$(TIMESTAMP)/$(1)_$(3)'; \
(echo; \
find '$(2)' -name 'config.log' -print -exec cat {} \; \
echo; \
echo 'settings.mk'; \
cat '$(TOP_DIR)/settings.mk'; \
) >> '$(LOG_DIR)/$(TIMESTAMP)/$(1)_$(3)'; \
exit 1; \
fi
@echo '[done] $(1)'