summaryrefslogtreecommitdiffstats
path: root/bsps/mips/csb350/config/csb350.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'bsps/mips/csb350/config/csb350.cfg')
-rw-r--r--bsps/mips/csb350/config/csb350.cfg19
1 files changed, 19 insertions, 0 deletions
diff --git a/bsps/mips/csb350/config/csb350.cfg b/bsps/mips/csb350/config/csb350.cfg
new file mode 100644
index 0000000000..f6d50662b0
--- /dev/null
+++ b/bsps/mips/csb350/config/csb350.cfg
@@ -0,0 +1,19 @@
+#
+# Config file for the Cogent CSB350 board
+#
+
+include $(RTEMS_ROOT)/make/custom/default.cfg
+
+RTEMS_CPU=mips
+
+# This contains the compiler options necessary to select the CPU model
+# and (hopefully) optimize for it.
+#
+# gcc 3.1 and newer
+CPU_CFLAGS = -mips32 -G0 -msoft-float
+
+# optimize flag: typically -O2
+CFLAGS_OPTIMIZE_V = -O2 -g
+CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections
+
+LDFLAGS = -Wl,--gc-sections