summaryrefslogtreecommitdiff
path: root/include/target.mk
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2013-09-26 17:53:32 +0000
committerFelix Fietkau <nbd@openwrt.org>2013-09-26 17:53:32 +0000
commite0189ccef433f01304b97f89ffd52d1c3b48498b (patch)
tree0ca4ccd943142e324dc59f2732eb92ab9dce680c /include/target.mk
parent0db91251574fd221641a5d89564d244e5406e44f (diff)
downloadmtk-20170518-e0189ccef433f01304b97f89ffd52d1c3b48498b.zip
mtk-20170518-e0189ccef433f01304b97f89ffd52d1c3b48498b.tar.gz
mtk-20170518-e0189ccef433f01304b97f89ffd52d1c3b48498b.tar.bz2
build: include the cpu type as part of the toolchain/target directory name
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 38214
Diffstat (limited to 'include/target.mk')
-rw-r--r--include/target.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/target.mk b/include/target.mk
index c3b4c52..4e7fdf7 100644
--- a/include/target.mk
+++ b/include/target.mk
@@ -254,6 +254,7 @@ define BuildTargets/DumpCurrent
echo 'Target-Features: $(FEATURES)'; \
echo 'Target-Depends: $(DEPENDS)'; \
echo 'Target-Optimization: $(if $(CFLAGS),$(CFLAGS),$(DEFAULT_CFLAGS))'; \
+ echo 'CPU-Type: $(CPU_TYPE)$(if $(CPU_SUBTYPE),+$(CPU_SUBTYPE))'; \
echo 'Linux-Version: $(LINUX_VERSION)'; \
echo 'Linux-Release: $(LINUX_RELEASE)'; \
echo 'Linux-Kernel-Arch: $(LINUX_KARCH)'; \