2009-09-24 Joel Sherrill <joel.sherrill@oarcorp.com>

* Makefile.am: Add qemuppc.cfg.
	* custom/qemuppc.cfg: New file.
This commit is contained in:
Joel Sherrill
2009-09-24 19:17:16 +00:00
parent d7378b2e84
commit 98765cb868
3 changed files with 31 additions and 0 deletions

View File

@@ -1,3 +1,8 @@
2009-09-24 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am: Add qemuppc.cfg.
* custom/qemuppc.cfg: New file.
2009-09-14 Ralf Corsépius <ralf.corsepius@rtems.org> 2009-09-14 Ralf Corsépius <ralf.corsepius@rtems.org>
* custom/gen83xx.cfg: Remove -funit-at-a-time. * custom/gen83xx.cfg: Remove -funit-at-a-time.

View File

@@ -113,6 +113,7 @@ EXTRA_DIST += custom/pm520_cr825.cfg
EXTRA_DIST += custom/pm520_ze30.cfg EXTRA_DIST += custom/pm520_ze30.cfg
EXTRA_DIST += custom/posix.cfg EXTRA_DIST += custom/posix.cfg
EXTRA_DIST += custom/psim.cfg EXTRA_DIST += custom/psim.cfg
EXTRA_DIST += custom/qemuppc.cfg
EXTRA_DIST += custom/rbtx4925.cfg EXTRA_DIST += custom/rbtx4925.cfg
EXTRA_DIST += custom/rbtx4938.cfg EXTRA_DIST += custom/rbtx4938.cfg
EXTRA_DIST += custom/rtl22xx.cfg EXTRA_DIST += custom/rtl22xx.cfg

25
make/custom/qemuppc.cfg Normal file
View File

@@ -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