summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/powerpc/ss555/make/custom/ss555.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'c/src/lib/libbsp/powerpc/ss555/make/custom/ss555.cfg')
-rw-r--r--c/src/lib/libbsp/powerpc/ss555/make/custom/ss555.cfg34
1 files changed, 34 insertions, 0 deletions
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