Warning, /bsps/powerpc/motorola_powerpc/config/qemuprep-altivec.cfg is written in an unsupported language. File is not indexed.
0001 #
0002 # Config file for the QemuPrep w/Altivec
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=7400 -mmultiple -mstring -mstrict-align
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 ifdef PURE_BINARY
0021 define bsp-post-link
0022 $(default-bsp-post-link)
0023 $(OBJCOPY) -O binary -R .comment -S $(basename $@)$(EXEEXT) $(basename $@)$(DOWNEXT)
0024 endef
0025 else
0026 define bsp-post-link
0027 $(default-bsp-post-link)
0028 $(OBJCOPY) -O binary -R .comment -S $(basename $@)$(EXEEXT) rtems
0029 gzip -vf9 rtems
0030 $(LD) -o $(basename $@)$(DOWNEXT) $(PROJECT_RELEASE)/lib/bootloader.o \
0031 --just-symbols=$(basename $@)$(EXEEXT) \
0032 --no-warn-mismatch \
0033 -b binary rtems.gz -T $(PROJECT_RELEASE)/lib/ppcboot.lds \
0034 -Map $(basename $@).map && chmod 755 $@
0035 rm -f rtems.gz
0036 endef
0037 endif