summaryrefslogtreecommitdiff
path: root/extra/Configs
diff options
context:
space:
mode:
Diffstat (limited to 'extra/Configs')
-rw-r--r--extra/Configs/Config.in10
-rw-r--r--extra/Configs/Config.metag32
-rw-r--r--extra/Configs/defconfigs/metag/defconfig1
3 files changed, 42 insertions, 1 deletions
diff --git a/extra/Configs/Config.in b/extra/Configs/Config.in
index 89b3dd433..ed2cf2458 100644
--- a/extra/Configs/Config.in
+++ b/extra/Configs/Config.in
@@ -24,6 +24,7 @@ choice
default TARGET_i960 if DESIRED_TARGET_ARCH = "i960"
default TARGET_ia64 if DESIRED_TARGET_ARCH = "ia64"
default TARGET_m68k if DESIRED_TARGET_ARCH = "m68k"
+ default TARGET_metag if DESIRED_TARGET_ARCH = "metag"
default TARGET_microblaze if DESIRED_TARGET_ARCH = "microblaze"
default TARGET_mips if DESIRED_TARGET_ARCH = "mips"
default TARGET_nios if DESIRED_TARGET_ARCH = "nios"
@@ -81,6 +82,9 @@ config TARGET_ia64
config TARGET_m68k
bool "m68k"
+config TARGET_metag
+ bool "metag"
+
config TARGET_microblaze
bool "microblaze"
@@ -174,6 +178,10 @@ if TARGET_m68k
source "extra/Configs/Config.m68k"
endif
+if TARGET_metag
+source "extra/Configs/Config.metag"
+endif
+
if TARGET_nios
source "extra/Configs/Config.nios"
endif
@@ -1491,7 +1499,7 @@ config UCLIBC_BUILD_MINIMAL_LOCALE
config UCLIBC_PREGENERATED_LOCALE_DATA
bool "Use Pre-generated Locale Data"
- depends on UCLIBC_HAS_LOCALE
+ depends on UCLIBC_HAS_LOCALE && !TARGET_metag
help
Use pre-built locale data.
diff --git a/extra/Configs/Config.metag b/extra/Configs/Config.metag
new file mode 100644
index 000000000..e55822281
--- /dev/null
+++ b/extra/Configs/Config.metag
@@ -0,0 +1,32 @@
+#
+# For a description of the syntax of this configuration file,
+# see extra/config/Kconfig-language.txt
+#
+# Copyright (C) 2013, Imagination Technologies Ltd.
+#
+# Licensed under LGPL v2.1 or later, see the file COPYING.LIB in this tarball.
+#
+
+config TARGET_ARCH
+ default "metag"
+
+config FORCE_OPTIONS_FOR_ARCH
+ bool
+ default y
+ select ARCH_LITTLE_ENDIAN
+ select ARCH_HAS_MMU
+
+choice
+ prompt "Target Processor Type"
+ default CONFIG_META_2_1
+ help
+ This is the processor type of your CPU. This information is used for
+ optimizing purposes.
+
+config CONFIG_META_1_2
+ bool "Meta 1.2"
+
+config CONFIG_META_2_1
+ bool "Meta 2.1"
+
+endchoice
diff --git a/extra/Configs/defconfigs/metag/defconfig b/extra/Configs/defconfigs/metag/defconfig
new file mode 100644
index 000000000..a6f57df72
--- /dev/null
+++ b/extra/Configs/defconfigs/metag/defconfig
@@ -0,0 +1 @@
+TARGET_metag=y