Warning, /bsps/powerpc/motorola_powerpc/config/mvme2307.cfg is written in an unsupported language. File is not indexed.
0001 #
0002 # Config file for the PowerPC 604 based mvme2307
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 #
0012 CPU_CFLAGS = -mcpu=604 -mmultiple -mstring -mstrict-align -meabi
0013
0014 # optimize flag: typically -O2
0015 CFLAGS_OPTIMIZE_V = -O2 -g
0016 CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections
0017
0018 LDFLAGS = -Wl,--gc-sections
0019
0020 define bsp-post-link
0021 $(default-bsp-post-link)
0022 $(OBJCOPY) -O binary -R .comment -S $(basename $@)$(EXEEXT) rtems
0023 gzip -vf9 rtems
0024 $(LD) -o $(basename $@)$(DOWNEXT) $(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