summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2009-10-15 09:15:29 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2009-10-15 09:15:29 +0000
commit34e9d2b6276605b3d14462f40d96489d88c0e964 (patch)
tree678d9e72b4fe8e6abe2b6c66d799c48ae8369072 /c/src/lib/libbsp
parent2009-10-15 Ralf Corsépius <ralf.corsepius@rtems.org> (diff)
downloadrtems-34e9d2b6276605b3d14462f40d96489d88c0e964.tar.bz2
2009-10-15 Ralf Corsépius <ralf.corsepius@rtems.org>
* make/custom/uC5282.cfg: New (relocated from /make/custom).
Diffstat (limited to 'c/src/lib/libbsp')
-rw-r--r--c/src/lib/libbsp/m68k/uC5282/ChangeLog4
-rw-r--r--c/src/lib/libbsp/m68k/uC5282/make/custom/uC5282.cfg25
2 files changed, 29 insertions, 0 deletions
diff --git a/c/src/lib/libbsp/m68k/uC5282/ChangeLog b/c/src/lib/libbsp/m68k/uC5282/ChangeLog
index 9b98950fe0..98b5786be2 100644
--- a/c/src/lib/libbsp/m68k/uC5282/ChangeLog
+++ b/c/src/lib/libbsp/m68k/uC5282/ChangeLog
@@ -1,3 +1,7 @@
+2009-10-15 Ralf Corsépius <ralf.corsepius@rtems.org>
+
+ * make/custom/uC5282.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/uC5282/make/custom/uC5282.cfg b/c/src/lib/libbsp/m68k/uC5282/make/custom/uC5282.cfg
new file mode 100644
index 0000000000..ea3b70ce0b
--- /dev/null
+++ b/c/src/lib/libbsp/m68k/uC5282/make/custom/uC5282.cfg
@@ -0,0 +1,25 @@
+#
+# Config file for the uC5282 BSP
+#
+# $Id$
+#
+
+RTEMS_CPU = m68k
+RTEMS_CPU_MODEL = mcf5282
+
+include $(RTEMS_ROOT)/make/custom/default.cfg
+
+# This is the actual bsp directory used during the build process.
+RTEMS_BSP_FAMILY = uC5282
+
+# This contains the compiler options necessary to select the CPU model
+# and (hopefully) optimize for it.
+CPU_CFLAGS = -mcpu=5282
+
+# optimize flag: typically -O2
+CFLAGS_OPTIMIZE_V = -O2 -g
+
+define bsp-post-link
+ $(default-bsp-post-link)
+ $(OBJCOPY) -O binary $(basename $@).exe $(basename $@)$(DOWNEXT)
+endef