diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2015-10-17 11:17:07 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@uclibc-ng.org> | 2015-10-19 01:37:11 +0200 |
commit | 312f482d395b591398296b5472a3884a12716cbd (patch) | |
tree | 682402fa4c470d4aa7c1334f7616408779559a8f /extra | |
parent | c807e03c88504cf01508daa6dbae9e93dacfcf3c (diff) |
lm32: add new architecture
Add support for FPGA systems from Lattice Semiconductor
http://www.latticesemi.com
Merge https://github.com/m-labs/uclibc-lm32.git
Diffstat (limited to 'extra')
-rw-r--r-- | extra/Configs/Config.in | 8 | ||||
-rw-r--r-- | extra/Configs/Config.lm32 | 17 | ||||
-rw-r--r-- | extra/Configs/defconfigs/lm32 | 1 |
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 |