summaryrefslogtreecommitdiffstats
path: root/bsps/sparc/erc32/config/erc32.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'bsps/sparc/erc32/config/erc32.cfg')
-rw-r--r--bsps/sparc/erc32/config/erc32.cfg17
1 files changed, 17 insertions, 0 deletions
diff --git a/bsps/sparc/erc32/config/erc32.cfg b/bsps/sparc/erc32/config/erc32.cfg
new file mode 100644
index 0000000000..84cc752daf
--- /dev/null
+++ b/bsps/sparc/erc32/config/erc32.cfg
@@ -0,0 +1,17 @@
+#
+# Config file for the European Space Agency ERC32
+# a V7 SPARC processor derived from the Cypress 601/602 set.
+
+include $(RTEMS_ROOT)/make/custom/default.cfg
+
+RTEMS_CPU=sparc
+
+# This contains the compiler options necessary to select the CPU model
+# and (hopefully) optimize for it.
+CPU_CFLAGS = -mcpu=cypress
+
+# optimize flag: typically -O2
+CFLAGS_OPTIMIZE_V = -O2 -g
+CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections
+
+LDFLAGS = -Wl,--gc-sections