summaryrefslogtreecommitdiffstats
path: root/make/custom/mcf5329.cfg
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2008-06-20 15:01:13 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2008-06-20 15:01:13 +0000
commit2dc5cac633b7c9a59433eb4ced66d6b793e62a1a (patch)
treeaf4452d170db4d118ecaf5607d84b50b35ab3aa6 /make/custom/mcf5329.cfg
parent2008-06-20 Matthew Riek <matthew.riek@ibiscomputer.com.au> (diff)
downloadrtems-2dc5cac633b7c9a59433eb4ced66d6b793e62a1a.tar.bz2
2008-06-20 Matthew Riek <matthew.riek@ibiscomputer.com.au>
* custom/mcf5329.cfg: New file.
Diffstat (limited to 'make/custom/mcf5329.cfg')
-rw-r--r--make/custom/mcf5329.cfg30
1 files changed, 30 insertions, 0 deletions
diff --git a/make/custom/mcf5329.cfg b/make/custom/mcf5329.cfg
new file mode 100644
index 0000000000..e52126b438
--- /dev/null
+++ b/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 = -m5307
+
+# 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