* [PATCH] arch/nios2:add nios2
@ 2015-01-08 17:36 Daniel Zimmermann
0 siblings, 0 replies; only message in thread
From: Daniel Zimmermann @ 2015-01-08 17:36 UTC (permalink / raw)
To: Bryan Hundven; +Cc: Daniel Zimmermann, crossgcc
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2015-01-08 17:36 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-01-08 17:36 [PATCH] arch/nios2:add nios2 Daniel Zimmermann
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).