Back to home page

LXR

 
 

    


Warning, /bsps/powerpc/motorola_powerpc/config/mtx603e.cfg is written in an unsupported language. File is not indexed.

0001 #
0002 #  Config file for Motorola MTX603e -- a MPC603e ATX form factor board
0003 #
0004 
0005 include $(RTEMS_ROOT)/make/custom/default.cfg
0006 
0007 RTEMS_CPU=powerpc
0008 
0009 #  This contains the compiler options necessary to select the CPU model
0010 #  and (hopefully) optimize for it.
0011 CPU_CFLAGS = -mcpu=603e
0012 
0013 # optimize flag: typically -O2
0014 CFLAGS_OPTIMIZE_V = -O2 -g -mmultiple -mstring -mstrict-align
0015 CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections
0016 
0017 LDFLAGS = -Wl,--gc-sections
0018 
0019 define bsp-post-link
0020         $(default-bsp-post-link)
0021         $(OBJCOPY) -O binary -R .comment -S $(basename $@)$(EXEEXT) rtems
0022         gzip -vf9 rtems
0023         $(LD) -o $(basename $@)$(DOWNEXT) \
0024            $(PROJECT_RELEASE)/lib/bootloader.o \
0025             --just-symbols=$(basename $@)$(EXEEXT) \
0026             --no-warn-mismatch \
0027             -b binary rtems.gz -T $(PROJECT_RELEASE)/lib/ppcboot.lds \
0028             -Map $(basename $@).map && chmod 755 $@
0029         rm -f rtems.gz
0030 endef
0031 
0032 # Miscellaneous additions go here