summaryrefslogblamecommitdiffstats
path: root/make/custom/mvme147.cfg
blob: 172db106c3c7145b53032870c8b63e072872fdc7 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14













                                                                 

                                                                       
                        
 
                              
                                               
 
                    
                                                                 
                                                            


                                                 
     
#
#  Config file for the mvme147 BSP
#
#  $Id$
#

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

RTEMS_CPU=m68k
RTEMS_CPU_MODEL=m68030

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

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

# optimize flag: typically -O2
CFLAGS_OPTIMIZE_V = -O2 -g -fomit-frame-pointer

define bsp-post-link
	$(OBJCOPY) -O srec $(basename $@).exe $(basename $@).srec
	sed -e 's/.$$//' -e '/^S0/d' $(basename $@).srec | \
	    $(PACKHEX) > $(basename $@)$(DOWNEXT)
	rm -f $(basename $@).srec
	$(default-bsp-post-link)
endef