summaryrefslogtreecommitdiffstats
path: root/make/custom
diff options
context:
space:
mode:
authorThomas Doerfler <Thomas.Doerfler@embedded-brains.de>2008-09-08 10:01:14 +0000
committerThomas Doerfler <Thomas.Doerfler@embedded-brains.de>2008-09-08 10:01:14 +0000
commit1ac5fdc942daa114991b3ceb09d0d3ae42575ed8 (patch)
tree0787d194dc797a6bf03acbb874b6c52a16fc58d0 /make/custom
parentadded new BSP for powerpc/tqm8xx boards (diff)
downloadrtems-1ac5fdc942daa114991b3ceb09d0d3ae42575ed8.tar.bz2
added BSP for tqm8xx based boards
Diffstat (limited to 'make/custom')
-rw-r--r--make/custom/pghplus.cfg11
-rw-r--r--make/custom/tqm8xx.cfg27
-rw-r--r--make/custom/tqm8xx_stk8xx.cfg11
3 files changed, 49 insertions, 0 deletions
diff --git a/make/custom/pghplus.cfg b/make/custom/pghplus.cfg
new file mode 100644
index 0000000000..ca1925dc11
--- /dev/null
+++ b/make/custom/pghplus.cfg
@@ -0,0 +1,11 @@
+#
+# Config file for a PowerPC MPC860-based TQM8xx carrier board.
+#
+
+#
+# All TQM8xx configurations share the same base file, only a few
+# parameters differ.
+#
+
+RTEMS_TQM_MODEL=pghplus
+include $(RTEMS_ROOT)/make/custom/tqm8xx.cfg
diff --git a/make/custom/tqm8xx.cfg b/make/custom/tqm8xx.cfg
new file mode 100644
index 0000000000..c1063a788e
--- /dev/null
+++ b/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 -D$(RTEMS_TQM_MODEL) \
+ -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
+AM_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/make/custom/tqm8xx_stk8xx.cfg b/make/custom/tqm8xx_stk8xx.cfg
new file mode 100644
index 0000000000..5ca7c3778b
--- /dev/null
+++ b/make/custom/tqm8xx_stk8xx.cfg
@@ -0,0 +1,11 @@
+#
+# 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.
+#
+
+RTEMS_TQM_MODEL=tqm8xx_stk8xx
+include $(RTEMS_ROOT)/make/custom/tqm8xx.cfg