summaryrefslogtreecommitdiffstats
path: root/make/custom
diff options
context:
space:
mode:
authorJennifer Averett <Jennifer.Averett@OARcorp.com>2005-04-28 15:05:48 +0000
committerJennifer Averett <Jennifer.Averett@OARcorp.com>2005-04-28 15:05:48 +0000
commit3a5073afb77f9b982be796772b3b623ad9393004 (patch)
treec7b175f80622b55362ed694c8480108ace8d7307 /make/custom
parent2005-04-28 Jennifer Averett <jennifer.averett@oarcorp.com> (diff)
downloadrtems-3a5073afb77f9b982be796772b3b623ad9393004.tar.bz2
2005-04-28 Jennifer Averett <jennifer.averett@oarcorp.com>
* Makefile.am: Initial release of ep1a bsp * custom/ep1a.cfg: New file.
Diffstat (limited to 'make/custom')
-rw-r--r--make/custom/ep1a.cfg36
1 files changed, 36 insertions, 0 deletions
diff --git a/make/custom/ep1a.cfg b/make/custom/ep1a.cfg
new file mode 100644
index 0000000000..880684de5d
--- /dev/null
+++ b/make/custom/ep1a.cfg
@@ -0,0 +1,36 @@
+#
+# Config file for the Radstone PowerPC 8245 ep1a
+#
+#
+
+include $(RTEMS_ROOT)/make/custom/default.cfg
+
+RTEMS_CPU=powerpc
+RTEMS_CPU_MODEL=mpc8245
+
+# This is the actual bsp directory used during the build process.
+RTEMS_BSP_FAMILY=ep1a
+
+# This contains the compiler options necessary to select the CPU model
+# and (hopefully) optimize for it.
+#
+CPU_CFLAGS = -mcpu=603e -Dmpc603e -Dppc603e -mmultiple -mstring -mstrict-align
+
+# optimize flag: typically -0, could use -O4 or -fast
+# -O4 is ok for RTEMS
+# NOTE: some level of -O may be actually required by inline assembler
+#CFLAGS_OPTIMIZE_V=-O4 -fno-keep-inline-functions
+CFLAGS_OPTIMIZE_V = -O4
+
+# debug flags: typically none, but at least -O1 is required due to this
+# BSP using inlined code
+CFLAGS_DEBUG_V = -O1
+
+define make-exe
+ $(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) -o $(basename $@).exe \
+ $(LINK_OBJS) $(LINK_LIBS)
+ $(NM) -g -n $@ > $(basename $@).num
+ $(SIZE) $@
+endef
+
+# Miscellaneous additions go here