summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/mips/rbtx4938/make/custom/rbtx4938.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'c/src/lib/libbsp/mips/rbtx4938/make/custom/rbtx4938.cfg')
-rw-r--r--c/src/lib/libbsp/mips/rbtx4938/make/custom/rbtx4938.cfg24
1 files changed, 24 insertions, 0 deletions
diff --git a/c/src/lib/libbsp/mips/rbtx4938/make/custom/rbtx4938.cfg b/c/src/lib/libbsp/mips/rbtx4938/make/custom/rbtx4938.cfg
new file mode 100644
index 0000000000..81f4886552
--- /dev/null
+++ b/c/src/lib/libbsp/mips/rbtx4938/make/custom/rbtx4938.cfg
@@ -0,0 +1,24 @@
+#
+# Config file for the Toshiba RBTX4938 evaluation board with TX4938 cpu
+#
+# rbtx4938.cfg,v 1.21 2002/06/14 17:31:20 joel Exp
+#
+
+include $(RTEMS_ROOT)/make/custom/default.cfg
+
+RTEMS_CPU_MODEL=tx4938
+
+# This is the actual bsp directory used during the build process.
+RTEMS_BSP_FAMILY=rbtx4938
+
+# This contains the compiler options necessary to select the CPU model
+# and (hopefully) optimize for it.
+CPU_CFLAGS = -mips3 -G0 -EL
+
+# optimize flag: typically -O2
+CFLAGS_OPTIMIZE_V = -O2 -g -fomit-frame-pointer
+
+define bsp-post-link
+ $(OBJCOPY) --srec-len=30 -O srec $@ $(basename $@)$(DOWNEXT)
+ $(default-bsp-post-link)
+endef