summaryrefslogblamecommitdiffstats
path: root/bsps/powerpc/mvme5500/config/mvme5500.cfg
blob: 6a0fceabe77f282d9cc51aa71d2d0bfdff78d59f (plain) (tree)
1
2
3
4
5
6
7
8


                                                  



                                             
 


                                                                 

                                                                       
                                             


                              


                                                        


                                
                                                                             
     


                        
#
#  Config file for the PowerPC 7455 based mvme5500
#

include $(RTEMS_ROOT)/make/custom/default.cfg

RTEMS_CPU=powerpc

# This is the actual bsp directory used during the build process.
RTEMS_BSP_FAMILY=mvme5500

#  This contains the compiler options necessary to select the CPU model
#  and (hopefully) optimize for it. 
CPU_CFLAGS = -mcpu=7450 -mtune=7450 -Dmpc7455

# optimize flag: typically -O2
CFLAGS_OPTIMIZE_V = -O2 -g
CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections

LDFLAGS = -Wl,--gc-sections

define bsp-post-link
	$(default-bsp-post-link)
	$(OBJCOPY) -O binary $(basename $@)$(EXEEXT) $(basename $@)$(DOWNEXT)
endef

# 
START_BASE=mvme5500start