summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2009-10-15 05:11:44 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2009-10-15 05:11:44 +0000
commitf2ac66c2a43a24b55f5765a5003d0373e204238e (patch)
tree5174cf7acc461073172097bf7f7e86adb5f51271
parent2009-10-15 Ralf Corsépius <ralf.corsepius@rtems.org> (diff)
downloadrtems-f2ac66c2a43a24b55f5765a5003d0373e204238e.tar.bz2
2009-10-15 Ralf Corsépius <ralf.corsepius@rtems.org>
* make/custom/ss555.cfg: New (relocated from /make/custom).
-rw-r--r--c/src/lib/libbsp/powerpc/ss555/ChangeLog4
-rw-r--r--c/src/lib/libbsp/powerpc/ss555/make/custom/ss555.cfg34
2 files changed, 38 insertions, 0 deletions
diff --git a/c/src/lib/libbsp/powerpc/ss555/ChangeLog b/c/src/lib/libbsp/powerpc/ss555/ChangeLog
index 229cc07ef3..132eb9bc26 100644
--- a/c/src/lib/libbsp/powerpc/ss555/ChangeLog
+++ b/c/src/lib/libbsp/powerpc/ss555/ChangeLog
@@ -1,3 +1,7 @@
+2009-10-15 Ralf Corsépius <ralf.corsepius@rtems.org>
+
+ * make/custom/ss555.cfg: New (relocated from /make/custom).
+
2009-09-15 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac: Remove RTEMS_BSP_BOOTCARD_OPTIONS.
diff --git a/c/src/lib/libbsp/powerpc/ss555/make/custom/ss555.cfg b/c/src/lib/libbsp/powerpc/ss555/make/custom/ss555.cfg
new file mode 100644
index 0000000000..1bedae4a7c
--- /dev/null
+++ b/c/src/lib/libbsp/powerpc/ss555/make/custom/ss555.cfg
@@ -0,0 +1,34 @@
+#
+# Config file for an Intec Automation SS555 MPC555-based card
+#
+# This file is derived from:
+#
+# Config file for a PowerPC MPC860-based MBX821-001 card.
+# Config file for a PowerPC 403 based helas403 card
+# Config file for MPC860 based Ethernet Comm Board
+#
+# $Id$
+#
+
+include $(RTEMS_ROOT)/make/custom/default.cfg
+
+RTEMS_CPU=powerpc
+GCC_CPU_MODEL=505
+RTEMS_CPU_MODEL=mpc555
+
+# This is the actual bsp directory used during the build process.
+RTEMS_BSP_FAMILY=ss555
+
+# This contains the compiler options necessary to select the CPU model
+# and (hopefully) optimize for it.
+#
+CPU_CFLAGS = -mcpu=$(GCC_CPU_MODEL) -D$(RTEMS_CPU_MODEL) -D$(RTEMS_BSP_FAMILY)
+
+# optimize flag: typically -O2
+CFLAGS_OPTIMIZE_V = -O2 -g -fno-keep-inline-functions
+
+define bsp-post-link
+ $(default-bsp-post-link)
+ cp $(basename $@).exe $(basename $@)$(DOWNEXT)
+ $(STRIP) $(basename $@)$(DOWNEXT)
+endef