summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2009-10-15 05:11:45 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2009-10-15 05:11:45 +0000
commit64a9775cdf3ade370aea9805614308427f290a22 (patch)
tree488a680de89ad413f8e6cbe1f1b049955e6a6983
parent2009-10-15 Ralf Corsépius <ralf.corsepius@rtems.org> (diff)
downloadrtems-64a9775cdf3ade370aea9805614308427f290a22.tar.bz2
2009-10-15 Ralf Corsépius <ralf.corsepius@rtems.org>
* make/custom/tqm8xx.cfg: New (relocated from /make/custom). * make/custom/tqm8xx_stk8xx.cfg: New (relocated from /make/custom).
-rw-r--r--c/src/lib/libbsp/powerpc/tqm8xx/ChangeLog5
-rw-r--r--c/src/lib/libbsp/powerpc/tqm8xx/make/custom/tqm8xx.cfg27
-rw-r--r--c/src/lib/libbsp/powerpc/tqm8xx/make/custom/tqm8xx_stk8xx.cfg10
3 files changed, 42 insertions, 0 deletions
diff --git a/c/src/lib/libbsp/powerpc/tqm8xx/ChangeLog b/c/src/lib/libbsp/powerpc/tqm8xx/ChangeLog
index c83bee45dd..dcfda9b1bf 100644
--- a/c/src/lib/libbsp/powerpc/tqm8xx/ChangeLog
+++ b/c/src/lib/libbsp/powerpc/tqm8xx/ChangeLog
@@ -1,3 +1,8 @@
+2009-10-15 Ralf Corsépius <ralf.corsepius@rtems.org>
+
+ * make/custom/tqm8xx.cfg: New (relocated from /make/custom).
+ * make/custom/tqm8xx_stk8xx.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/tqm8xx/make/custom/tqm8xx.cfg b/c/src/lib/libbsp/powerpc/tqm8xx/make/custom/tqm8xx.cfg
new file mode 100644
index 0000000000..5e4faa251b
--- /dev/null
+++ b/c/src/lib/libbsp/powerpc/tqm8xx/make/custom/tqm8xx.cfg
@@ -0,0 +1,27 @@
+#
+# Config file for a PowerPC MPC8xx-based TQM8xx carrier card
+#
+
+include $(RTEMS_ROOT)/make/custom/default.cfg
+
+RTEMS_CPU=powerpc
+RTEMS_CPU_MODEL=mpc860
+
+# This is the actual bsp directory used during the build process.
+RTEMS_BSP_FAMILY=tqm8xx
+
+CPU_CFLAGS = -mcpu=860 -Dmpc860 \
+ -mstrict-align -fno-strict-aliasing \
+ -meabi -msdata -fno-common
+
+# optimize flag: typically -O2
+CFLAGS_OPTIMIZE_V = -O2 -g -fno-keep-inline-functions
+
+RTEMS_LINKCMDS=linkcmds.tqm8xx
+LDFLAGS += -qnolinkcmds -T $(RTEMS_LINKCMDS)
+
+define bsp-post-link
+ cp $(basename $@).exe $(basename $@)$(DOWNEXT)
+ $(STRIP) $(basename $@)$(DOWNEXT)
+ $(default-bsp-post-link)
+endef
diff --git a/c/src/lib/libbsp/powerpc/tqm8xx/make/custom/tqm8xx_stk8xx.cfg b/c/src/lib/libbsp/powerpc/tqm8xx/make/custom/tqm8xx_stk8xx.cfg
new file mode 100644
index 0000000000..856df7c3ec
--- /dev/null
+++ b/c/src/lib/libbsp/powerpc/tqm8xx/make/custom/tqm8xx_stk8xx.cfg
@@ -0,0 +1,10 @@
+#
+# Config file for a PowerPC MPC860-based TQM8xx starter kit base board
+#
+
+#
+# All TQM8xx configurations share the same base file, only a few
+# parameters differ.
+#
+
+include $(RTEMS_ROOT)/make/custom/tqm8xx.cfg