diff options
Diffstat (limited to 'make/custom/score603e.cfg')
-rw-r--r-- | make/custom/score603e.cfg | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/make/custom/score603e.cfg b/make/custom/score603e.cfg index b4f9e6611b..76079e3e24 100644 --- a/make/custom/score603e.cfg +++ b/make/custom/score603e.cfg @@ -25,15 +25,10 @@ CPU_CFLAGS = -mcpu=603e -Dmpc603e -Dppc603e -mmultiple -mstring -mstrict-align # optimize flag: typically -O2 CFLAGS_OPTIMIZE_V = -O2 -g -fno-keep-inline-functions -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 srec $(basename $@).nxe $(basename $@).s1 +define bsp-post-link + $(default-bsp-post-link) + $(OBJCOPY) -O srec $(basename $@)$(EXEEXT) $(basename $@).s1 sed -e 's/.$$//' $(basename $@).s1 | \ - $(PACKHEX) >$(basename $@).exe + $(PACKHEX) >$(basename $@)$(DOWNEXT) rm -f $(basename $@).s1 endef - -# Miscellaneous additions go here |