summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2015-05-01 07:10:23 +0200
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2015-05-01 07:10:23 +0200
commit785d22575dd6db82cb2e14df12ddaadf980c4639 (patch)
tree1381a6d9cc90d474d3fe30311141644bc1edab05 /mk
parent9705434abb45c324e9e964fdef7cd0ce6609ff01 (diff)
add cpu type for different toolchains with the same architecture
Diffstat (limited to 'mk')
-rw-r--r--mk/vars.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/mk/vars.mk b/mk/vars.mk
index bf51a378b..e73cdc698 100644
--- a/mk/vars.mk
+++ b/mk/vars.mk
@@ -16,6 +16,9 @@ endif
ifneq ($(ADK_TARGET_ABI),)
ADK_SUFFIX:= $(ADK_SUFFIX)_$(ADK_TARGET_ABI)
endif
+ifneq ($(ADK_TARGET_CPU_TYPE),)
+ADK_SUFFIX:= $(ADK_SUFFIX)_$(ADK_TARGET_CPU_TYPE)
+endif
ifeq ($(ADK_TARGET_WITH_MMU),)
ADK_SUFFIX:= $(ADK_SUFFIX)_nommu
endif