diff options
author | dir <dir@ableton.com> | 2017-06-29 17:01:45 +0200 |
---|---|---|
committer | dir <dir@ableton.com> | 2017-06-29 17:02:57 +0200 |
commit | a3f229e318911055a745016bede9e474e85b6cba (patch) | |
tree | 38489a68d5c98e515bb3cb65b5711f3a606dbc4d | |
parent | 3387bb022f8e7a1220382526404e1f14845a86cc (diff) |
Add info-target to print out some OpenADK variables in machine readable ways
-rw-r--r-- | Makefile | 2 | ||||
-rw-r--r-- | Makefile.adk | 4 | ||||
-rw-r--r-- | mk/build.mk | 9 |
3 files changed, 14 insertions, 1 deletions
@@ -4,5 +4,5 @@ # GNU make and BSD make compatible make file wrapper MAKECMDGOALS+= ${.TARGETS} -all v allmodconfig allnoconfig allyesconfig help pkg-help dev-help targethelp kernelconfig savekconfig image menuconfig defconfig oldconfig download clean cleankernel cleansystem cleandir distclean hostclean hostpackage fetch package extract patch dep menu newpackage host-update-patches update-patches: +all v allmodconfig allnoconfig allyesconfig help pkg-help dev-help targethelp kernelconfig savekconfig image menuconfig defconfig oldconfig download clean cleankernel cleansystem cleandir distclean hostclean hostpackage fetch package extract patch dep menu newpackage host-update-patches update-patches info: @./scripts/prereq.sh ${MAKECMDGOALS} diff --git a/Makefile.adk b/Makefile.adk index 0938316ba..df0d98d4c 100644 --- a/Makefile.adk +++ b/Makefile.adk @@ -180,5 +180,9 @@ dep: world: @${GMAKE_INV} world + +info: + @${GMAKE_INV} info + endif # DO NOT DELETE 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" |