From 0ce8ada61eadc678f01700fc9811307cfb23eaa1 Mon Sep 17 00:00:00 2001
From: dir
Date: Wed, 26 Apr 2017 12:49:49 +0200
Subject: Add info-target to print out some OpenADK variables in machine
readable ways
---
mk/build.mk | 9 +++++++++
1 file changed, 9 insertions(+)
(limited to 'mk/build.mk')
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"
--
cgit v1.2.3