diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2009-10-15 05:11:41 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2009-10-15 05:11:41 +0000 |
commit | 05dc1b105f30a8f0670af50c7a4b15bb91fa3981 (patch) | |
tree | 4b8e687aadd311dc2b0376c6794647d56f076816 /c/src/lib/libbsp/powerpc/qemuppc/make/custom/qemuppc.cfg | |
parent | 2009-10-15 Ralf Corsépius <ralf.corsepius@rtems.org> (diff) | |
download | rtems-05dc1b105f30a8f0670af50c7a4b15bb91fa3981.tar.bz2 |
2009-10-15 Ralf Corsépius <ralf.corsepius@rtems.org>
* make/custom/qemuppc.cfg: New (relocated from /make/custom).
Diffstat (limited to '')
-rw-r--r-- | c/src/lib/libbsp/powerpc/qemuppc/make/custom/qemuppc.cfg | 25 |
1 files changed, 25 insertions, 0 deletions
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 |