summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authordir <dir@ableton.com>2017-04-26 12:49:49 +0200
committerdir <dir@ableton.com>2017-06-21 14:29:06 +0200
commit0ce8ada61eadc678f01700fc9811307cfb23eaa1 (patch)
treed789203c94a11bf30dd79638c6a23e925e6f3e49 /mk
parent2d85d3803c04189e3c419ff3fea58cb2997f0d22 (diff)
Add info-target to print out some OpenADK variables in machine readable ways
Diffstat (limited to 'mk')
-rw-r--r--mk/build.mk9
1 files changed, 9 insertions, 0 deletions
diff --git a/mk/build.mk b/mk/build.mk
index 3bbcc220d..de911508c 100644
--- a/mk/build.mk
+++ b/mk/build.mk
@@ -652,3 +652,12 @@ check-g++: check-dejagnu
$(MAKE) -C $(TOOLCHAIN_BUILD_DIR)/w-$(PKG_NAME)-$(PKG_VERSION)-$(PKG_RELEASE)/$(PKG_NAME)-$(PKG_VERSION)-final/gcc -k check-c++
check: check-gcc check-g++
+
+info:
+ @printf -- "---OPENADK-INFO---\n"
+ @printf "ADK_TOPDIR=$(ADK_TOPDIR)\n"
+ @printf "TARGET_COMPILER_PREFIX=${TARGET_COMPILER_PREFIX}\n"
+ @printf "TOOLCHAIN_DIR=$(TOOLCHAIN_DIR)\n"
+ @printf "TARGET_PATH=$(TARGET_PATH)\n"
+ @printf "LINUX_DIR=$(LINUX_DIR)\n"
+ @printf -- "---OPENADK-INFO---\n"