Files
rtems/make/custom/score603e.cfg
Joel Sherrill b1a66feaa3 2008-03-11 Joel Sherrill <joel.sherrill@OARcorp.com>
* custom/av5282.cfg, custom/bare.cfg, custom/default.cfg,
	custom/gba.cfg, custom/gp32.cfg, custom/i386ex.cfg, custom/idp.cfg,
	custom/mbx8xx.cfg, custom/mcf5235.cfg, custom/mcp750.cfg,
	custom/mrm332.cfg, custom/mtx603e.cfg, custom/mvme136.cfg,
	custom/mvme147.cfg, custom/mvme162.cfg, custom/mvme162lx.cfg,
	custom/mvme167.cfg, custom/mvme2100.cfg, custom/mvme2307.cfg,
	custom/mvme3100.cfg, custom/mvme5500.cfg, custom/nios2_iss.cfg,
	custom/pc386.cfg, custom/posix.cfg, custom/score603e.cfg,
	custom/sim68000.cfg, custom/simcpu32.cfg, custom/ss555.cfg,
	custom/ts_386ex.cfg, custom/uC5282.cfg, custom/virtex.cfg: Switch to
	explicit .exe instead of EXEEXT to get it to work.
2008-03-11 20:50:58 +00:00

35 lines
846 B
INI

#
# Config file for a PowerPC 603e based Vista VMEbus Single Board Computer.
# This BSP should work with the following models:
#
# + Vista SCORE 603e
#
# $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=score603e
# This contains the compiler options necessary to select the CPU model
# and (hopefully) optimize for it.
#
CPU_CFLAGS = -mcpu=603e -Dmpc603e -Dppc603e -mmultiple -mstring -mstrict-align
# optimize flag: typically -O2
CFLAGS_OPTIMIZE_V = -O2 -g -fno-keep-inline-functions
define bsp-post-link
$(default-bsp-post-link)
$(OBJCOPY) -O srec $(basename $@).exe $(basename $@).s1
sed -e 's/.$$//' $(basename $@).s1 | \
$(PACKHEX) >$(basename $@)$(DOWNEXT)
rm -f $(basename $@).s1
endef