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.lm3217
-rw-r--r--extra/Configs/defconfigs/lm321
3 files changed, 26 insertions, 0 deletions
diff --git a/extra/Configs/Config.in b/extra/Configs/Config.in
index c95425006..9737043ae 100644
--- a/extra/Configs/Config.in
+++ b/extra/Configs/Config.in
@@ -28,6 +28,7 @@ choice
default TARGET_i386 if DESIRED_TARGET_ARCH = "i386"
default TARGET_i960 if DESIRED_TARGET_ARCH = "i960"
default TARGET_ia64 if DESIRED_TARGET_ARCH = "ia64"
+ default TARGET_lm32 if DESIRED_TARGET_ARCH = "lm32"
default TARGET_m68k if DESIRED_TARGET_ARCH = "m68k"
default TARGET_metag if DESIRED_TARGET_ARCH = "metag"
default TARGET_microblaze if DESIRED_TARGET_ARCH = "microblaze"
@@ -90,6 +91,9 @@ config TARGET_i386
config TARGET_ia64
bool "ia64"
+config TARGET_lm32
+ bool "lm32"
+
config TARGET_m68k
bool "m68k"
@@ -188,6 +192,10 @@ if TARGET_ia64
source "extra/Configs/Config.ia64"
endif
+if TARGET_lm32
+source "extra/Configs/Config.lm32"
+endif
+
if TARGET_m68k
source "extra/Configs/Config.m68k"
endif
diff --git a/extra/Configs/Config.lm32 b/extra/Configs/Config.lm32
new file mode 100644
index 000000000..807726702
--- /dev/null
+++ b/extra/Configs/Config.lm32
@@ -0,0 +1,17 @@
+#
+# For a description of the syntax of this configuration file,
+# see extra/config/Kconfig-language.txt
+#
+
+config TARGET_ARCH
+ string
+ default "lm32"
+
+config FORCE_OPTIONS_FOR_ARCH
+ bool
+ default y
+ select ARCH_BIG_ENDIAN
+ select ARCH_HAS_NO_MMU
+ select ARCH_HAS_NO_LDSO
+ select HAVE_NO_PIC
+ select ARCH_HAS_DEPRECATED_SYSCALLS
diff --git a/extra/Configs/defconfigs/lm32 b/extra/Configs/defconfigs/lm32
new file mode 100644
index 000000000..63fb19d79
--- /dev/null
+++ b/extra/Configs/defconfigs/lm32
@@ -0,0 +1 @@
+TARGET_lm32=y