summaryrefslogblamecommitdiffstats
path: root/bsps/powerpc/mvme3100/config/mvme3100.cfg
blob: 50a291aae8f658dd16703ec6ddca92357b0a2dd0 (plain) (tree)
1
2
3
4
5
6
7
8
9







                                                  
 

                                                                       
                                       


                              


                                                        


                                
                                                                             
     
#
#  Config file for the PowerPC 8540 based mvme3100
#
#

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

RTEMS_CPU=powerpc

#  This contains the compiler options necessary to select the CPU model
#  and (hopefully) optimize for it.
CPU_CFLAGS = -mcpu=powerpc -msoft-float

# 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