summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2009-10-15 09:15:11 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2009-10-15 09:15:11 +0000
commit5ecdb87610eaa4c29122af25ecb41a56a6eb9594 (patch)
treee2c37f1198596372541a5e87cc863925cc95174f
parent2009-10-15 Ralf Corsépius <ralf.corsepius@rtems.org> (diff)
downloadrtems-5ecdb87610eaa4c29122af25ecb41a56a6eb9594.tar.bz2
2009-10-15 Ralf Corsépius <ralf.corsepius@rtems.org>
* make/custom/mcf5329.cfg: New (relocated from /make/custom).
-rw-r--r--c/src/lib/libbsp/m68k/mcf5329/ChangeLog4
-rw-r--r--c/src/lib/libbsp/m68k/mcf5329/make/custom/mcf5329.cfg30
2 files changed, 34 insertions, 0 deletions
diff --git a/c/src/lib/libbsp/m68k/mcf5329/ChangeLog b/c/src/lib/libbsp/m68k/mcf5329/ChangeLog
index d3d3d9385c..554bc0e075 100644
--- a/c/src/lib/libbsp/m68k/mcf5329/ChangeLog
+++ b/c/src/lib/libbsp/m68k/mcf5329/ChangeLog
@@ -1,3 +1,7 @@
+2009-10-15 Ralf Corsépius <ralf.corsepius@rtems.org>
+
+ * make/custom/mcf5329.cfg: New (relocated from /make/custom).
+
2009-09-30 Ralf Corsépius <ralf.corsepius@rtems.org>
* console/console.c: Reflect termios_baud_to_number having been
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