summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorTony Theodore <tonyt@logyst.com>2013-07-07 09:36:17 (GMT)
committerTony Theodore <tonyt@logyst.com>2013-07-07 09:36:17 (GMT)
commit54fa3a4e0f2d16d21c6a5a3cb1be38356e301c8c (patch)
tree95e666bcfc2e0808bfe2ef9b6cc6020b7fd93d22 /Makefile
parentdb51c8a30bb03ef9fe23fa3fd1f2676deeff8325 (diff)
downloadmxe-54fa3a4e0f2d16d21c6a5a3cb1be38356e301c8c.zip
mxe-54fa3a4e0f2d16d21c6a5a3cb1be38356e301c8c.tar.gz
mxe-54fa3a4e0f2d16d21c6a5a3cb1be38356e301c8c.tar.bz2
Makefile: add extra logging details
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 319a003..220cd86 100644
--- a/Makefile
+++ b/Makefile
@@ -231,6 +231,7 @@ $(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)'; \
exit 1; \
fi
@echo '[done] $(1)'
@@ -242,6 +243,9 @@ build-only-$(1)_$(3): CMAKE_TOOLCHAIN_FILE = $(PREFIX)/$(3)/share/cmake/mxe-conf
build-only-$(1)_$(3):
$(if $(or $(value $(1)_BUILD_$(3)),\
$(and $(value $(1)_BUILD),$(findstring undefined,$(origin $(1)_BUILD_$(3))))),
+ uname -a
+ git show-branch --list --reflog=1
+ lsb_release -a 2>/dev/null || true
rm -rf '$(2)'
mkdir -p '$(2)'
cd '$(2)' && $(call UNPACK_PKG_ARCHIVE,$(1))