summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2009-10-15 09:15:07 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2009-10-15 09:15:07 +0000
commitcefeb62e79e05c6d8ada29d5c1ad73a2f173dc93 (patch)
tree8e76c7b17bc3bfed8870523e8ba47c29c407b023
parent2009-10-15 Ralf Corsépius <ralf.corsepius@rtems.org> (diff)
downloadrtems-cefeb62e79e05c6d8ada29d5c1ad73a2f173dc93.tar.bz2
2009-10-15 Ralf Corsépius <ralf.corsepius@rtems.org>
* make/custom/mcf52235.cfg: New (relocated from /make/custom).
-rw-r--r--c/src/lib/libbsp/m68k/mcf52235/ChangeLog4
-rw-r--r--c/src/lib/libbsp/m68k/mcf52235/make/custom/mcf52235.cfg32
2 files changed, 36 insertions, 0 deletions
diff --git a/c/src/lib/libbsp/m68k/mcf52235/ChangeLog b/c/src/lib/libbsp/m68k/mcf52235/ChangeLog
index dbad7e7cf5..d08a812826 100644
--- a/c/src/lib/libbsp/m68k/mcf52235/ChangeLog
+++ b/c/src/lib/libbsp/m68k/mcf52235/ChangeLog
@@ -1,3 +1,7 @@
+2009-10-15 Ralf Corsépius <ralf.corsepius@rtems.org>
+
+ * make/custom/mcf52235.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/mcf52235/make/custom/mcf52235.cfg b/c/src/lib/libbsp/m68k/mcf52235/make/custom/mcf52235.cfg
new file mode 100644
index 0000000000..862b70c1a3
--- /dev/null
+++ b/c/src/lib/libbsp/m68k/mcf52235/make/custom/mcf52235.cfg
@@ -0,0 +1,32 @@
+#
+# Config file for the mcf5235 BSP
+#
+#Based on:
+# $Id$
+#
+# A0.01 Initial Version BDS 07/26/01
+#
+
+
+RTEMS_CPU=m68k
+RTEMS_CPU_MODEL=mcf5223x
+
+include $(RTEMS_ROOT)/make/custom/default.cfg
+
+# This is the actual bsp directory used during the build process.
+RTEMS_BSP_FAMILY=mcf52235
+
+# This contains the compiler options necessary to select the CPU model
+# and (hopefully) optimize for it.
+CPU_CFLAGS = -mcpu=52235
+
+# 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