summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 8f146d1..2fabd71 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 1b651b4..de53ce1 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 87c483a..7dc272e 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