diff options
Diffstat (limited to 'target/config')
-rw-r--r-- | target/config/Config.in.cpu | 3 | ||||
-rw-r--r-- | target/config/Config.in.mips | 5 | ||||
-rw-r--r-- | target/config/Config.in.mips.choice | 30 | ||||
-rw-r--r-- | target/config/Config.in.mips.default | 13 | ||||
-rw-r--r-- | target/config/Config.in.target | 1 |
5 files changed, 52 insertions, 0 deletions
diff --git a/target/config/Config.in.cpu b/target/config/Config.in.cpu index cc4d1c6bc..ca6c78afc 100644 --- a/target/config/Config.in.cpu +++ b/target/config/Config.in.cpu @@ -104,6 +104,9 @@ config ADK_CPU_M68K config ADK_CPU_MIPS32 boolean +config ADK_CPU_MIPS32R2 + boolean + config ADK_CPU_MIPS64 boolean diff --git a/target/config/Config.in.mips b/target/config/Config.in.mips new file mode 100644 index 000000000..161a7f127 --- /dev/null +++ b/target/config/Config.in.mips @@ -0,0 +1,5 @@ +# This file is part of the OpenADK project. OpenADK is copyrighted +# material, please see the LICENCE file in the top-level directory. + +source target/config/Config.in.mips.choice +source target/config/Config.in.mips.default diff --git a/target/config/Config.in.mips.choice b/target/config/Config.in.mips.choice new file mode 100644 index 000000000..0e1c80475 --- /dev/null +++ b/target/config/Config.in.mips.choice @@ -0,0 +1,30 @@ +# This file is part of the OpenADK project. OpenADK is copyrighted +# material, please see the LICENCE file in the top-level directory. + +choice ADK_TARGET_MIPS_CPU_ARCH +prompt "MIPS ISA" +depends on ADK_TARGET_ARCH_MIPS + +config ADK_CPU_MIPS_MIPS32 + bool "MIPS32" + select ADK_CPU_MIPS32 + +config ADK_CPU_MIPS_MIPS32R2 + bool "MIPS32r2" + select ADK_CPU_MIPS32R2 + +endchoice + +choice ADK_TARGET_MIPS_FLOAT +prompt "Float configuration" +depends on ADK_TARGET_ARCH_MIPS + +config ADK_TARGET_MIPS_HARD_FLOAT + bool "hard-float" + select ADK_hard_float + +config ADK_TARGET_MIPS_SOFT_FLOAT + bool "soft-float" + select ADK_soft_float + +endchoice diff --git a/target/config/Config.in.mips.default b/target/config/Config.in.mips.default new file mode 100644 index 000000000..3241681ce --- /dev/null +++ b/target/config/Config.in.mips.default @@ -0,0 +1,13 @@ +# This file is part of the OpenADK project. OpenADK is copyrighted +# material, please see the LICENCE file in the top-level directory. + +config ADK_soft_float + bool + +config ADK_hard_float + bool + +config ADK_TARGET_FLOAT + string + default "hard" if ADK_hard_float + default "soft" if ADK_soft_float diff --git a/target/config/Config.in.target b/target/config/Config.in.target index 1a6129509..6628be124 100644 --- a/target/config/Config.in.target +++ b/target/config/Config.in.target @@ -25,6 +25,7 @@ config ADK_TARGET_CFLAGS default "-mcpu=ultrasparc -m64" if ADK_CPU_SPARC_V9 default "-march=loongson2f -Wa,-mfix-loongson2f-nop" if ADK_CPU_LOONGSON2F default "-march=mips32" if ADK_CPU_MIPS32 + default "-march=mips32r2" if ADK_CPU_MIPS32R2 default "-march=mips64" if ADK_CPU_MIPS64 default "-march=armv8-a" if ADK_CPU_ARMV8 default "-march=armv5te -mtune=iwmmxt" if ADK_CPU_XSCALE |