summaryrefslogtreecommitdiffstats
path: root/bsps/mips/jmr3904/config/jmr3904.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'bsps/mips/jmr3904/config/jmr3904.cfg')
-rw-r--r--bsps/mips/jmr3904/config/jmr3904.cfg16
1 files changed, 16 insertions, 0 deletions
diff --git a/bsps/mips/jmr3904/config/jmr3904.cfg b/bsps/mips/jmr3904/config/jmr3904.cfg
new file mode 100644
index 0000000000..ed4e6b3be0
--- /dev/null
+++ b/bsps/mips/jmr3904/config/jmr3904.cfg
@@ -0,0 +1,16 @@
+#
+# Config file for the jmr3904 board which has a simulator in gdb
+#
+
+include $(RTEMS_ROOT)/make/custom/default.cfg
+
+RTEMS_CPU=mips
+
+CPU_CFLAGS = -march=r3900 -Wa,-xgot -G0
+
+CFLAGS_OPTIMIZE_V = -O2 -g
+
+# arguments to compile and link with per-element sections
+CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections
+LDFLAGS = -Wl,--gc-sections
+