This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See crosstool-NG for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] arch/nios2:add nios2


add the nios2 architecture to crosstool-ng.

Signed-off-by: Daniel Zimmermann <netzimme@gmail.com>
---
 config/arch/nios2.in        |  9 +++++++++
 scripts/build/arch/nios2.sh | 13 +++++++++++++
 2 files changed, 22 insertions(+)
 create mode 100644 config/arch/nios2.in
 create mode 100644 scripts/build/arch/nios2.sh

diff --git a/config/arch/nios2.in b/config/arch/nios2.in
new file mode 100644
index 0000000..2674bfd
--- /dev/null
+++ b/config/arch/nios2.in
@@ -0,0 +1,9 @@
+# NIOS232 specific configuration file
+
+## select ARCH_SUPPORTS_32
+## select ARCH_DEFAULT_32
+## select ARCH_DEFAULT_LE
+## select ARCH_SUPPORTS_WITH_CPU
+##
+## help The NIOS2 architecture, as defined by:
+## help     http://www.altera.com
diff --git a/scripts/build/arch/nios2.sh b/scripts/build/arch/nios2.sh
new file mode 100644
index 0000000..8c7d445
--- /dev/null
+++ b/scripts/build/arch/nios2.sh
@@ -0,0 +1,13 @@
+# Compute NIOS2-specific values
+
+CT_DoArchTupleValues() {
+    # gcc ./configure flags
+    CT_ARCH_WITH_ARCH=
+    CT_ARCH_WITH_ABI=
+    CT_ARCH_WITH_CPU=
+    CT_ARCH_WITH_TUNE=
+    CT_ARCH_WITH_FPU=
+    CT_ARCH_WITH_FLOAT=
+    CT_TARGET_SYS=elf
+
+}
-- 
1.9.1


--
For unsubscribe information see http://sourceware.org/lists.html#faq


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]