# # CONFIG.Common.RTEMS-mvme3100 # Revision-Id: anj@aps.anl.gov-20110426174446-11te76tq9ieughhv # Author: W. Eric Norum # # All RTEMS targets use the same Makefile fragment # EXE = .elf RTEMS_TARGET_CPU = powerpc GNU_TARGET = powerpc-rtems ARCH_DEP_CFLAGS += -DMY_DO_BOOTP=NULL ARCH_DEP_CFLAGS += -DHAVE_PPCBUG OP_SYS_LDLIBS += -lbspExt MUNCH_SUFFIX = .boot MUNCHNAME = $(PRODNAME:%$(EXE)=%$(MUNCH_SUFFIX)) define MUNCH_CMD $(RTEMS_TOOLS)/bin/$(OBJCOPY_FOR_TARGET) -O binary -R .comment -S $< rtems gzip -f9 rtems $(RTEMS_TOOLS)/bin/$(LD_FOR_TARGET) -o $@ \ $(PROJECT_RELEASE)/lib/bootloader.o \ --just-symbols=$< \ -b binary rtems.gz \ -T $(PROJECT_RELEASE)/lib/ppcboot.lds \ -Map $<.map rm -f rtems.gz endef include $(CONFIG)/os/CONFIG.Common.RTEMS