summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2009-10-15 09:14:54 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2009-10-15 09:14:54 +0000
commit85dece12e43c1b778560900fb834c713ed72e515 (patch)
treed16369bd2f73afcce6264ecba6d71a600155399b
parentRemove (Moved to c/src/lib/libbsp/<cpu>/<bsp>). (diff)
downloadrtems-85dece12e43c1b778560900fb834c713ed72e515.tar.bz2
2009-10-15 Ralf Corsépius <ralf.corsepius@rtems.org>
* make/custom/av5282.cfg: New (relocated from /make/custom).
-rw-r--r--c/src/lib/libbsp/m68k/av5282/ChangeLog4
-rw-r--r--c/src/lib/libbsp/m68k/av5282/make/custom/av5282.cfg29
2 files changed, 33 insertions, 0 deletions
diff --git a/c/src/lib/libbsp/m68k/av5282/ChangeLog b/c/src/lib/libbsp/m68k/av5282/ChangeLog
index 54a2cceac2..e776f8318a 100644
--- a/c/src/lib/libbsp/m68k/av5282/ChangeLog
+++ b/c/src/lib/libbsp/m68k/av5282/ChangeLog
@@ -1,3 +1,7 @@
+2009-10-15 Ralf Corsépius <ralf.corsepius@rtems.org>
+
+ * make/custom/av5282.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/av5282/make/custom/av5282.cfg b/c/src/lib/libbsp/m68k/av5282/make/custom/av5282.cfg
new file mode 100644
index 0000000000..fdc3e522b4
--- /dev/null
+++ b/c/src/lib/libbsp/m68k/av5282/make/custom/av5282.cfg
@@ -0,0 +1,29 @@
+#
+# Config file for the uC5282 BSP
+#
+
+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=av5282
+
+# This contains the compiler options necessary to select the CPU model
+# and (hopefully) optimize for it.
+CPU_CFLAGS = -mcpu=528x
+
+
+# optimize flag: typically -O2
+CFLAGS_OPTIMIZE_V = -O2 -g -fomit-frame-pointer
+
+ifndef MTARGET
+MTARGET=ram
+endif
+
+define bsp-post-link
+ $(default-bsp-post-link)
+ $(OBJCOPY) -O binary --strip-all \
+ $(basename $@).exe $(basename $@)$(DOWNEXT)
+endef