summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2016-12-13 06:01:08 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2016-12-13 06:01:14 +0100
commit9206c33a48fda4fcaa98a7555492a6939b4bcc43 (patch)
tree94e30e95d6d5b9be1dfd232461cdda0510cac708
parent4dbb0ebcf5381dc63ccbd51bd2eb6b0c618d5cbf (diff)
add rx bare-metal toolchain support
-rwxr-xr-xscripts/create-menu2
-rw-r--r--target/arch.lst1
-rw-r--r--target/config/Config.in.cpu7
-rw-r--r--target/config/Config.in.libc1
4 files changed, 10 insertions, 1 deletions
diff --git a/scripts/create-menu b/scripts/create-menu
index ede6eafe2..def3913e0 100755
--- a/scripts/create-menu
+++ b/scripts/create-menu
@@ -93,7 +93,7 @@ for arch in $(cat $topdir/target/arch.lst);do
alpha|ia64|sh|s390|tile|ppc64|mips64)
printf "\tdepends on ADK_TARGET_OS_LINUX\n" >> $topdir/target/config/Config.in.arch.choice
;;
- cr16|epiphany|m32r|mn10300|moxie|msp430|v850)
+ cr16|epiphany|m32r|mn10300|moxie|msp430|rx|v850)
printf "\tdepends on ADK_TARGET_OS_BAREMETAL\n" >> $topdir/target/config/Config.in.arch.choice
;;
esac
diff --git a/target/arch.lst b/target/arch.lst
index 8bab3bd2f..03f3f26e1 100644
--- a/target/arch.lst
+++ b/target/arch.lst
@@ -27,6 +27,7 @@ nios2
or1k
ppc
ppc64
+rx
s390
sparc
sparc64
diff --git a/target/config/Config.in.cpu b/target/config/Config.in.cpu
index 7cea653de..2bb5bfaa0 100644
--- a/target/config/Config.in.cpu
+++ b/target/config/Config.in.cpu
@@ -970,6 +970,12 @@ config ADK_TARGET_CPU_PPC64_POWER8
select ADK_TARGET_WITH_MMU
depends on ADK_TARGET_ARCH_PPC64
+# rx
+config ADK_TARGET_CPU_RX
+ bool "rx"
+ select ADK_TARGET_WITHOUT_MMU
+ depends on ADK_TARGET_ARCH_RX
+
# s390
config ADK_TARGET_CPU_S390_Z900
bool "z900"
@@ -1985,6 +1991,7 @@ config ADK_TARGET_CPU_ARCH
default "ppc" if ADK_TARGET_ARCH_PPC
default "ppc64le" if ADK_TARGET_ARCH_PPC64 && ADK_TARGET_LITTLE_ENDIAN
default "ppc64" if ADK_TARGET_ARCH_PPC64 && ADK_TARGET_BIG_ENDIAN
+ default "rx" if ADK_TARGET_ARCH_RX
default "s390x" if ADK_TARGET_ARCH_S390
default "sh2" if ADK_TARGET_CPU_SH_SH2 && ADK_TARGET_LITTLE_ENDIAN
default "sh2eb" if ADK_TARGET_CPU_SH_SH2 && ADK_TARGET_BIG_ENDIAN
diff --git a/target/config/Config.in.libc b/target/config/Config.in.libc
index c384434fa..2e43387c4 100644
--- a/target/config/Config.in.libc
+++ b/target/config/Config.in.libc
@@ -111,6 +111,7 @@ config ADK_TARGET_LIB_NEWLIB
ADK_TARGET_ARCH_NDS32 || \
ADK_TARGET_ARCH_OR1K || \
ADK_TARGET_ARCH_PPC || \
+ ADK_TARGET_ARCH_RX || \
ADK_TARGET_ARCH_SPARC || \
ADK_TARGET_ARCH_SPARC64 || \
ADK_TARGET_ARCH_V850 || \