summaryrefslogtreecommitdiff
path: root/extra
diff options
context:
space:
mode:
Diffstat (limited to 'extra')
-rw-r--r--extra/Configs/Config.in8
-rw-r--r--extra/Configs/Config.kvx18
-rw-r--r--extra/Configs/defconfigs/kvx/defconfig1
3 files changed, 27 insertions, 0 deletions
diff --git a/extra/Configs/Config.in b/extra/Configs/Config.in
index fff434b40..7dca9e305 100644
--- a/extra/Configs/Config.in
+++ b/extra/Configs/Config.in
@@ -28,6 +28,7 @@ choice
default TARGET_hppa if DESIRED_TARGET_ARCH = "hppa"
default TARGET_i386 if DESIRED_TARGET_ARCH = "i386"
default TARGET_ia64 if DESIRED_TARGET_ARCH = "ia64"
+ default TARGET_kvx if DESIRED_TARGET_ARCH = "kvx"
default TARGET_lm32 if DESIRED_TARGET_ARCH = "lm32"
default TARGET_m68k if DESIRED_TARGET_ARCH = "m68k"
default TARGET_metag if DESIRED_TARGET_ARCH = "metag"
@@ -91,6 +92,9 @@ config TARGET_i386
config TARGET_ia64
bool "ia64"
+config TARGET_kvx
+ bool "kvx"
+
config TARGET_lm32
bool "lm32"
@@ -192,6 +196,10 @@ if TARGET_ia64
source "extra/Configs/Config.ia64"
endif
+if TARGET_kvx
+source "extra/Configs/Config.kvx"
+endif
+
if TARGET_lm32
source "extra/Configs/Config.lm32"
endif
diff --git a/extra/Configs/Config.kvx b/extra/Configs/Config.kvx
new file mode 100644
index 000000000..398ffceaa
--- /dev/null
+++ b/extra/Configs/Config.kvx
@@ -0,0 +1,18 @@
+#
+# For a description of the syntax of this configuration file,
+# see extra/config/Kconfig-language.txt
+#
+
+config TARGET_ARCH
+ string
+ default "kvx"
+
+config FORCE_OPTIONS_FOR_ARCH
+ bool
+ default y
+ select ARCH_LITTLE_ENDIAN
+ select ARCH_HAS_MMU
+ select UCLIBC_HAS_FPU
+ select UCLIBC_HAS_FENV
+ select UCLIBC_HAS_WCHAR
+ select DO_C99_MATH
diff --git a/extra/Configs/defconfigs/kvx/defconfig b/extra/Configs/defconfigs/kvx/defconfig
new file mode 100644
index 000000000..c80e6ce8e
--- /dev/null
+++ b/extra/Configs/defconfigs/kvx/defconfig
@@ -0,0 +1 @@
+TARGET_kvx=y