From 312f482d395b591398296b5472a3884a12716cbd Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sat, 17 Oct 2015 11:17:07 +0200 Subject: 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 --- extra/Configs/Config.in | 8 ++++++++ extra/Configs/Config.lm32 | 17 +++++++++++++++++ extra/Configs/defconfigs/lm32 | 1 + 3 files changed, 26 insertions(+) create mode 100644 extra/Configs/Config.lm32 create mode 100644 extra/Configs/defconfigs/lm32 (limited to 'extra/Configs') 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 -- cgit v1.2.3