From 124ec188720b6bdea85ade49e7ea195161b12fce Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sat, 5 Jan 2008 10:05:27 +0000 Subject: Chris Zankel writes: The following patches add support for the Xtensa processor architecture to uClibc. They are based on a recent SVN checkout (12/05/2007). The first patch (attached to this post) adds Xtensa support to various shared configuration and make files. The following patches then include the Xtensa specific files and directories. I welcome any feedback and would appreciate it if you could include the patches into the mainline tree. I am certainly committed to maintain the port. Bob Wilson was kind enough to review the patches. Some notes about the architecture: Xtensa is a configurable and extensible processor architecture developed by Tensilica. For more information, please visit: www.linux-xtensa.org. --- extra/Configs/Config.in | 7 +++++++ extra/Configs/Config.xtensa | 12 ++++++++++++ 2 files changed, 19 insertions(+) create mode 100644 extra/Configs/Config.xtensa (limited to 'extra') diff --git a/extra/Configs/Config.in b/extra/Configs/Config.in index ec4cb4bdc..37dc0ba1e 100644 --- a/extra/Configs/Config.in +++ b/extra/Configs/Config.in @@ -82,6 +82,9 @@ config TARGET_vax config TARGET_x86_64 bool "x86_64" +config TARGET_xtensa + bool "xtensa" + endchoice @@ -183,6 +186,10 @@ if TARGET_x86_64 source "extra/Configs/Config.x86_64" endif +if TARGET_xtensa +source "extra/Configs/Config.xtensa" +endif + config TARGET_SUBARCH string default "e500" if CONFIG_E500 diff --git a/extra/Configs/Config.xtensa b/extra/Configs/Config.xtensa new file mode 100644 index 000000000..75132471a --- /dev/null +++ b/extra/Configs/Config.xtensa @@ -0,0 +1,12 @@ +# +# For a description of the syntax of this configuration file, +# see extra/config/kconfig-language.txt +# + +config TARGET_ARCH + string + default "xtensa" + +config ARCH_CFLAGS + string + -- cgit v1.2.3