summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/m68k/mcf5329/make/custom/mcf5329.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'c/src/lib/libbsp/m68k/mcf5329/make/custom/mcf5329.cfg')
-rw-r--r--c/src/lib/libbsp/m68k/mcf5329/make/custom/mcf5329.cfg30
1 files changed, 30 insertions, 0 deletions
diff --git a/c/src/lib/libbsp/m68k/mcf5329/make/custom/mcf5329.cfg b/c/src/lib/libbsp/m68k/mcf5329/make/custom/mcf5329.cfg
new file mode 100644
index 0000000000..abe9bfaa82
--- /dev/null
+++ b/c/src/lib/libbsp/m68k/mcf5329/make/custom/mcf5329.cfg
@@ -0,0 +1,30 @@
+#
+# Config file for the mcf5329 BSP
+#
+# $Id$
+#
+
+
+RTEMS_CPU=m68k
+RTEMS_CPU_MODEL=mcf532x
+
+include $(RTEMS_ROOT)/make/custom/default.cfg
+
+# This is the actual bsp directory used during the build process.
+RTEMS_BSP_FAMILY=mcf5329
+
+# This contains the compiler options necessary to select the CPU model
+# and (hopefully) optimize for it.
+#CPU_CFLAGS = -mcpu=5329
+CPU_CFLAGS = -mcpu=5307
+
+# optimize flag: typically -O2
+CFLAGS_OPTIMIZE_V = -O2 -g -fomit-frame-pointer
+
+# This defines the operations performed on the linked executable.
+# is currently required.
+define bsp-post-link
+ $(OBJCOPY) -O binary --strip-all \
+ $(basename $@).exe $(basename $@)$(DOWNEXT)
+ $(SIZE) $(basename $@).exe
+endef