summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2015-03-04 19:32:52 (GMT)
committerWaldemar Brodkorb <wbx@openadk.org>2015-03-04 19:32:52 (GMT)
commitf8a2963c529bd811e49693a0eaf3b1f19e90f1be (patch)
tree23b9494983238b108a002557acd41255d93fee87 /mk
parent12fb25f4f50a76c3d80f1138289e42781082e387 (diff)
use separate directories for nommu setup
Diffstat (limited to 'mk')
-rw-r--r--mk/vars.mk7
1 files changed, 7 insertions, 0 deletions
diff --git a/mk/vars.mk b/mk/vars.mk
index 605248a..9dd7e87 100644
--- a/mk/vars.mk
+++ b/mk/vars.mk
@@ -11,9 +11,16 @@ BUILD_USER= $(shell id -un)
BUILD_GROUP= $(shell id -gn)
ifeq ($(ADK_TARGET_ABI),)
ADK_SUFFIX:= _${ADK_TARGET_SYSTEM}_${ADK_TARGET_LIBC}_${ADK_TARGET_CPU_ARCH}
+ifeq ($(ADK_TARGET_WITH_MMU),)
+ADK_SUFFIX:= _${ADK_TARGET_SYSTEM}_${ADK_TARGET_LIBC}_${ADK_TARGET_CPU_ARCH}_nommu
+endif
+else
+ifeq ($(ADK_TARGET_WITH_MMU),)
+ADK_SUFFIX:= _${ADK_TARGET_SYSTEM}_${ADK_TARGET_LIBC}_${ADK_TARGET_CPU_ARCH}_${ADK_TARGET_ABI}_nommu
else
ADK_SUFFIX:= _${ADK_TARGET_SYSTEM}_${ADK_TARGET_LIBC}_${ADK_TARGET_CPU_ARCH}_${ADK_TARGET_ABI}
endif
+endif
# some global dirs
BASE_DIR:= $(ADK_TOPDIR)