From e130b681c43ee2215512ffcf6cadcbc4487e96e6 Mon Sep 17 00:00:00 2001 From: Carmelo Amoroso Date: Fri, 16 Nov 2007 14:26:46 +0000 Subject: Added AVR32 support to uClibc. Signed-off-by: Hans-Christian Egtvedt --- extra/Configs/Config.avr32 | 31 +++++++++++++++++++++++++++++++ extra/Configs/Config.in | 7 +++++++ extra/Configs/defconfigs/avr32 | 1 + 3 files changed, 39 insertions(+) create mode 100644 extra/Configs/Config.avr32 create mode 100644 extra/Configs/defconfigs/avr32 (limited to 'extra/Configs') diff --git a/extra/Configs/Config.avr32 b/extra/Configs/Config.avr32 new file mode 100644 index 000000000..0706e7ff9 --- /dev/null +++ b/extra/Configs/Config.avr32 @@ -0,0 +1,31 @@ +# +# For a description of the syntax of this configuration file, +# see extra/config/Kconfig-language.txt +# + +config TARGET_ARCH + string + default "avr32" + +config FORCE_OPTIONS_FOR_ARCH + bool + default y + select ARCH_BIG_ENDIAN + select FORCE_SHAREABLE_TEXT_SEGMENTS + +config ARCH_CFLAGS + string + +choice + prompt "Target CPU Type" + default CONFIG_AVR32_AP7 + +config CONFIG_AVR32_AP7 + bool "AVR32 AP7" + select ARCH_HAS_MMU + +endchoice + +config LINKRELAX + bool "Enable linker optimizations" + default y diff --git a/extra/Configs/Config.in b/extra/Configs/Config.in index cc23a98ad..eb5bf15f2 100644 --- a/extra/Configs/Config.in +++ b/extra/Configs/Config.in @@ -16,6 +16,9 @@ config TARGET_alpha config TARGET_arm bool "arm" +config TARGET_avr32 + bool "avr32" + config TARGET_bfin bool "bfin" @@ -92,6 +95,10 @@ if TARGET_arm source "extra/Configs/Config.arm" endif +if TARGET_avr32 +source "extra/Configs/Config.avr32" +endif + if TARGET_bfin source "extra/Configs/Config.bfin" endif diff --git a/extra/Configs/defconfigs/avr32 b/extra/Configs/defconfigs/avr32 new file mode 100644 index 000000000..0b890a291 --- /dev/null +++ b/extra/Configs/defconfigs/avr32 @@ -0,0 +1 @@ +TARGET_avr32=y -- cgit v1.2.3