summaryrefslogtreecommitdiffstats
path: root/core/dumpvar.mk
diff options
context:
space:
mode:
authorConley Owens <cco3@android.com>2012-02-07 11:16:42 -0800
committerConley Owens <cco3@android.com>2012-02-07 11:16:42 -0800
commit5f1c9ba0b87c8b233b5e5d904aae2a4d079a310f (patch)
tree7992ebd5d413433b7f16341227992bab11ee39e7 /core/dumpvar.mk
parent9a7419153e7fffa6056a24b567ff3f45111aa0c0 (diff)
downloadbuild-5f1c9ba0b87c8b233b5e5d904aae2a4d079a310f.zip
build-5f1c9ba0b87c8b233b5e5d904aae2a4d079a310f.tar.gz
build-5f1c9ba0b87c8b233b5e5d904aae2a4d079a310f.tar.bz2
Add extra environment info to build output
This should help us support users with build issues. Given that they inculde the dumpvars in their error report, we will be able to avoid asking standard questions like "what version of Ubuntu are you using?" Change-Id: Ib7c452d805d5e64075a44dc40e41d4605cc1ef4a
Diffstat (limited to 'core/dumpvar.mk')
-rw-r--r--core/dumpvar.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/dumpvar.mk b/core/dumpvar.mk
index 22c8daa..aba3c8d 100644
--- a/core/dumpvar.mk
+++ b/core/dumpvar.mk
@@ -67,6 +67,7 @@ endif # CALLED_FROM_SETUP
ifneq ($(PRINT_BUILD_CONFIG),)
+HOST_OS_EXTRA:=$(shell python -c "import platform; print(platform.platform())")
$(info ============================================)
$(info PLATFORM_VERSION_CODENAME=$(PLATFORM_VERSION_CODENAME))
$(info PLATFORM_VERSION=$(PLATFORM_VERSION))
@@ -78,6 +79,7 @@ $(info TARGET_ARCH=$(TARGET_ARCH))
$(info TARGET_ARCH_VARIANT=$(TARGET_ARCH_VARIANT))
$(info HOST_ARCH=$(HOST_ARCH))
$(info HOST_OS=$(HOST_OS))
+$(info HOST_OS_EXTRA=$(HOST_OS_EXTRA))
$(info HOST_BUILD_TYPE=$(HOST_BUILD_TYPE))
$(info BUILD_ID=$(BUILD_ID))
$(info OUT_DIR=$(OUT_DIR))