diff options
Diffstat (limited to 'make/custom/idp.cfg')
-rw-r--r-- | make/custom/idp.cfg | 17 |
1 files changed, 5 insertions, 12 deletions
diff --git a/make/custom/idp.cfg b/make/custom/idp.cfg index c9724c9efc..c3e8f846ae 100644 --- a/make/custom/idp.cfg +++ b/make/custom/idp.cfg @@ -20,17 +20,10 @@ CPU_CFLAGS = -msoft-float # optimize flag: typically -O2 CFLAGS_OPTIMIZE_V = -O2 -g -fomit-frame-pointer -# The following are definitions of make-exe which will work using ld as -# is currently required. - -define make-exe - $(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) -o $(basename $@).nxe \ - $(LINK_OBJS) $(LINK_LIBS) - $(OBJCOPY) -O srec $(basename $@).nxe $(basename $@).srec +define bsp-post-link + $(OBJCOPY) -O srec $(basename $@)$(EXEEXT) $(basename $@).srec sed -e 's/.$$//' -e '/^S0/d' $(basename $@).srec | \ - $(PACKHEX) > $(basename $@).exe - $(NM) -g -n $(basename $@).nxe > $(basename $@).num - $(SIZE) $(basename $@).nxe + $(PACKHEX) > $(basename $@)$(DOWNEXT) + rm -f $(basename $@).srec + $(default-bsp-post-link) endef - -# Miscellaneous additions go here |