summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2018-06-03 21:30:19 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2018-06-03 21:30:19 +0200
commitcdc98a6b867db7436529df2a11b8b091809a579c (patch)
tree5e71426c4559a6e125e363cd1be8371f864db553
parent1433cebb53a5b8b639e4e0c06d286fa7e7e31c27 (diff)
add suffix for instruction set
-rw-r--r--mk/vars.mk3
-rw-r--r--rules.mk2
-rwxr-xr-xscripts/update-rcconf3
3 files changed, 7 insertions, 1 deletions
diff --git a/mk/vars.mk b/mk/vars.mk
index 8f146d1f1..2fabd7160 100644
--- a/mk/vars.mk
+++ b/mk/vars.mk
@@ -28,6 +28,9 @@ endif
ifneq ($(ADK_TARGET_BINFMT),)
ADK_SUFFIX:= $(ADK_SUFFIX)_$(ADK_TARGET_BINFMT)
endif
+ifneq ($(ADK_TARGET_INSTRUCTION_SET),)
+ADK_SUFFIX:= $(ADK_SUFFIX)_$(ADK_TARGET_INSTRUCTION_SET)
+endif
ifeq ($(ADK_TARGET_WITH_MMU),)
ADK_SUFFIX:= $(ADK_SUFFIX)_nommu
endif
diff --git a/rules.mk b/rules.mk
index 1b651b408..de53ce105 100644
--- a/rules.mk
+++ b/rules.mk
@@ -44,7 +44,7 @@ ADK_TARGET_GCC_ARCH:= $(strip $(subst ",, $(ADK_TARGET_GCC_ARCH)))
ADK_TARGET_BINFMT:= $(strip $(subst ",, $(ADK_TARGET_BINFMT)))
ADK_TARGET_FLOAT:= $(strip $(subst ",, $(ADK_TARGET_FLOAT)))
ADK_TARGET_FPU:= $(strip $(subst ",, $(ADK_TARGET_FPU)))
-ADK_TARGET_ARM_MODE:= $(strip $(subst ",, $(ADK_TARGET_ARM_MODE)))
+ADK_TARGET_INSTRUCTION_SET:= $(strip $(subst ",, $(ADK_TARGET_INSTRUCTION_SET)))
ADK_TARGET_CFLAGS:= $(strip $(subst ",, $(ADK_TARGET_CFLAGS)))
ADK_TARGET_CPU_FLAGS:= $(strip $(subst ",, $(ADK_TARGET_CPU_FLAGS)))
ADK_TARGET_CFLAGS_OPT:= $(strip $(subst ",, $(ADK_TARGET_CFLAGS_OPT)))
diff --git a/scripts/update-rcconf b/scripts/update-rcconf
index 87c483a1c..7dc272e73 100755
--- a/scripts/update-rcconf
+++ b/scripts/update-rcconf
@@ -30,6 +30,9 @@ fi
if [ ! -z ${ADK_TARGET_BINFMT} ];then
suffix=${suffix}_${ADK_TARGET_BINFMT}
fi
+if [ ! -z ${ADK_TARGET_INSTRUCTION_SET} ];then
+ suffix=${suffix}_${ADK_TARGET_INSTRUCTION_SET}
+fi
if [ -z ${ADK_TARGET_WITH_MMU} ];then
suffix=${suffix}_nommu
fi