summaryrefslogtreecommitdiff
path: root/extra/Configs/Config.nios2
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2004-07-16 11:09:34 +0000
committerEric Andersen <andersen@codepoet.org>2004-07-16 11:09:34 +0000
commitc3d50a69839f8d80fc7244fde6e4a57e5e39dd36 (patch)
treec9e27baac7541384b806cce0845f28c1f59b5a2e /extra/Configs/Config.nios2
parent3cf731bf40f153a73373798085d1f45a80b972d6 (diff)
Pete Popov writes:
Hi Erik, I'm not sure why the NIOS support is not in uClibc -- perhaps the patch was rejected or never submitted? In any case, I'm playing with some NIOS stuff and created this patch against 0.9.26. The work was done by Microtronix. I'm not sure who else contributed to it. It would be great to have the NIOS support available in uClibc so developers don't have to go searching for these bits. Pete
Diffstat (limited to 'extra/Configs/Config.nios2')
-rw-r--r--extra/Configs/Config.nios230
1 files changed, 30 insertions, 0 deletions
diff --git a/extra/Configs/Config.nios2 b/extra/Configs/Config.nios2
new file mode 100644
index 000000000..cc7caf17d
--- /dev/null
+++ b/extra/Configs/Config.nios2
@@ -0,0 +1,30 @@
+#
+# For a description of the syntax of this configuration file,
+# see extra/config/Kconfig-language.txt
+#
+
+config TARGET_ARCH
+ default "nios2"
+
+config HAVE_ELF
+ bool
+ select ARCH_HAS_NO_MMU
+ select ARCH_LITTLE_ENDIAN
+ select HAVE_NO_PIC
+ select HAVE_NO_SHARED
+ select ARCH_HAS_NO_LDSO
+ default y
+
+config ARCH_CFLAGS
+ string
+
+config ARCH_LDFLAGS
+ string
+
+config LIBGCC_CFLAGS
+ string
+
+config CROSS
+ string
+ default nios2-elf-
+