From 5e1e3281ea5744d6ad3f80d58791437c20976e48 Mon Sep 17 00:00:00 2001 From: FrancisANDRE Date: Tue, 17 Nov 2015 10:19:40 +0100 Subject: [PATCH] Add trace of important variables. Signed-off-by: FrancisANDRE --- build/rules/global | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/build/rules/global b/build/rules/global index 85c8dc477..473920596 100644 --- a/build/rules/global +++ b/build/rules/global @@ -34,19 +34,16 @@ ifndef PROJECT_BASE PROJECT_BASE = $(POCO_BASE) endif export PROJECT_BASE -$(info PROJECT_BASE = $(PROJECT_BASE)) +$(info PROJECT_BASE = $(PROJECT_BASE)) # # Check for POCO_BUILD # ifndef POCO_BUILD -override POCO_BUILD = $(PROJECT_BASE) -endif -ifeq ($(strip $(POCO_BUILD)),) -override POCO_BUILD = $(PROJECT_BASE) +POCO_BUILD = $(PROJECT_BASE) endif export POCO_BUILD -$(info POCO_BUILD = $(POCO_BUILD)) +$(info POCO_BUILD = $(POCO_BUILD)) # # POCO_BASE/POCO_BUILD/cwd sanity checks @@ -79,7 +76,10 @@ endif ifeq ($(findstring MINGW,$(POCO_HOST_OSNAME)),MINGW) POCO_HOST_OSNAME = MinGW endif +$(info POCO_HOST_OSNAME= $(POCO_HOST_OSNAME)) + POCO_HOST_OSARCH ?= $(subst /,-,$(shell uname -m | tr ' ' _)) +$(info POCO_HOST_OSARCH= $(POCO_HOST_OSARCH)) # # Begin Sun platforms @@ -115,6 +115,7 @@ endif ifndef POCO_CONFIG POCO_CONFIG = $(POCO_HOST_OSNAME) endif +$(info POCO_CONFIG = $(POCO_CONFIG)) # # Include System Specific Settings @@ -129,11 +130,15 @@ OSNAME := $(POCO_HOST_OSNAME) else OSNAME := $(POCO_TARGET_OSNAME) endif +$(info OSNAME = $(OSNAME)) + ifndef POCO_TARGET_OSARCH OSARCH := $(subst /,-,$(shell uname -m | tr ' ' _)) else OSARCH := $(POCO_TARGET_OSARCH) endif +$(info OSARCH = $(OSARCH)) + HOSTNAME := $(shell hostname) # @@ -294,4 +299,3 @@ endif # export CC export CXX -export LINK