diff options
Diffstat (limited to 'make/custom/mtx603e.cfg')
-rw-r--r-- | make/custom/mtx603e.cfg | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/make/custom/mtx603e.cfg b/make/custom/mtx603e.cfg index d2455acee9..d1dfd1e7a3 100644 --- a/make/custom/mtx603e.cfg +++ b/make/custom/mtx603e.cfg @@ -19,16 +19,15 @@ CPU_CFLAGS = -mcpu=603e -Dmpc603e -Dppc603e # optimize flag: typically -O2 CFLAGS_OPTIMIZE_V = -O2 -g -mmultiple -mstring -mstrict-align -define make-exe - $(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) \ - -o $(basename $@).nxe $(LINK_OBJS) $(LINK_LIBS) - $(NM) -g -n $(basename $@).nxe > $(basename $@).num - $(SIZE) $(basename $@).nxe - $(OBJCOPY) -O binary -R .comment -S $(basename $@).nxe rtems +define bsp-post-link + $(default-bsp-post-link) + $(OBJCOPY) -O binary -R .comment -S $(basename $@)$(EXEEXT) rtems gzip -vf9 rtems - $(LD) -o $@ $(PROJECT_RELEASE)/lib/bootloader.o --just-symbols=$(basename $@).nxe \ - -b binary rtems.gz -T $(PROJECT_RELEASE)/lib/ppcboot.lds \ - -Map $(basename $@).map && chmod 755 $@ + $(LD) -o $(basename $@)$(DOWNEXT) \ + $(PROJECT_RELEASE)/lib/bootloader.o \ + --just-symbols=$(basename $@)$(EXEEXT) \ + -b binary rtems.gz -T $(PROJECT_RELEASE)/lib/ppcboot.lds \ + -Map $(basename $@).map && chmod 755 $@ rm -f rtems.gz endef |