source: rtems/make/custom/mvme5500.cfg @ c3102eb5

4.104.114.84.95
Last change on this file since c3102eb5 was c3102eb5, checked in by Joel Sherrill <joel.sherrill@…>, on Sep 8, 2006 at 8:44:54 PM

2006-09-08 Kate Feng <feng1@…>

PR 1150/bsps

  • custom/mvme5500.cfg: This is a follow-up of the PR846 due to the fact that gcc (4.0.2) implicitely uses the vector engine for optimization; -mcpu=7450 -Dmpc7455 -mno-altivec -mabi=altivec is better.
  • Property mode set to 100644
File size: 1.3 KB
Line 
1#
2#  Config file for the PowerPC 7455 based mvme5500
3#
4#  $Id$
5#
6
7include $(RTEMS_ROOT)/make/custom/default.cfg
8
9RTEMS_CPU=powerpc
10RTEMS_CPU_MODEL=mpc7455
11
12# This is the actual bsp directory used during the build process.
13RTEMS_BSP_FAMILY=mvme5500
14
15#  This contains the compiler options necessary to select the CPU model
16#  and (hopefully) optimize for it.
17#  if gcc does not regonize 7450 then change -mcpu=750
18#
19CPU_CFLAGS = -mcpu=7450 -Dmpc7455 -mno-altivec -mabi=altivec -mvrsave=no -mmultiple -mstring -mstrict-align
20#T. Straumann; disable sdata=eabi for now until CEXP supports it -meabi -msdata=eabi
21
22# optimize flag: typically -0, could use -O4 or -fast
23# -O4 is ok for RTEMS
24# NOTE: some level of -O may be actually required by inline assembler
25#CFLAGS_OPTIMIZE_V=-O4 -fno-keep-inline-functions
26CFLAGS_OPTIMIZE_V = -O4
27
28# debug flags: typically none, but at least -O1 is required due to this
29# BSP using inlined code
30CFLAGS_DEBUG_V = -O1
31
32define make-exe
33        $(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) -o $@ $(LINK_OBJS) $(LINK_LIBS)
34        $(NM) -g -n $@ > $(basename $@).num
35        $(SIZE) $@
36#       test -d ${PROJECT_RELEASE}/bin || mkdir ${PROJECT_RELEASE}/bin
37        $(OBJCOPY) -Obinary $@ $(@:%.exe=%)$(LIB_VARIANT).bin
38endef
39
40# Miscellaneous additions go here
41
42# No start file
43START_BASE=mvme5500start
Note: See TracBrowser for help on using the repository browser.