summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2009-10-15 05:11:41 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2009-10-15 05:11:41 +0000
commit05dc1b105f30a8f0670af50c7a4b15bb91fa3981 (patch)
tree4b8e687aadd311dc2b0376c6794647d56f076816
parent2009-10-15 Ralf Corsépius <ralf.corsepius@rtems.org> (diff)
downloadrtems-05dc1b105f30a8f0670af50c7a4b15bb91fa3981.tar.bz2
2009-10-15 Ralf Corsépius <ralf.corsepius@rtems.org>
* make/custom/qemuppc.cfg: New (relocated from /make/custom).
-rw-r--r--c/src/lib/libbsp/powerpc/qemuppc/ChangeLog4
-rw-r--r--c/src/lib/libbsp/powerpc/qemuppc/make/custom/qemuppc.cfg25
2 files changed, 29 insertions, 0 deletions
diff --git a/c/src/lib/libbsp/powerpc/qemuppc/ChangeLog b/c/src/lib/libbsp/powerpc/qemuppc/ChangeLog
index 442409e0d6..799a1f9def 100644
--- a/c/src/lib/libbsp/powerpc/qemuppc/ChangeLog
+++ b/c/src/lib/libbsp/powerpc/qemuppc/ChangeLog
@@ -1,3 +1,7 @@
+2009-10-15 Ralf Corsépius <ralf.corsepius@rtems.org>
+
+ * make/custom/qemuppc.cfg: New (relocated from /make/custom).
+
2009-10-14 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am: Remove reference to timer_SOURCES.
diff --git a/c/src/lib/libbsp/powerpc/qemuppc/make/custom/qemuppc.cfg b/c/src/lib/libbsp/powerpc/qemuppc/make/custom/qemuppc.cfg
new file mode 100644
index 0000000000..aaaff5cb54
--- /dev/null
+++ b/c/src/lib/libbsp/powerpc/qemuppc/make/custom/qemuppc.cfg
@@ -0,0 +1,25 @@
+#
+# Config file for the PowerPC 60x simulator in Qemu
+#
+# $Id$
+#
+
+include $(RTEMS_ROOT)/make/custom/default.cfg
+
+RTEMS_CPU=powerpc
+RTEMS_CPU_MODEL=mpc6xx
+
+# This is the actual bsp directory used during the build process.
+RTEMS_BSP_FAMILY=qemuppc
+
+# This contains the compiler options necessary to select the CPU model
+# and (hopefully) optimize for it.
+CPU_CFLAGS = -mcpu=603e -Dppc603e
+
+# optimize flag: typically -O2
+CFLAGS_OPTIMIZE_V = -O2 -g -fno-keep-inline-functions
+
+define bsp-post-link
+ $(default-bsp-post-link)
+ $(OBJCOPY) -O binary $(basename $@).exe $(basename $@)$(DOWNEXT)
+endef