diff options
Diffstat (limited to 'make/custom/mvme136.cfg')
-rw-r--r-- | make/custom/mvme136.cfg | 16 |
1 files changed, 5 insertions, 11 deletions
diff --git a/make/custom/mvme136.cfg b/make/custom/mvme136.cfg index 0f230c879b..c5c99c1c96 100644 --- a/make/custom/mvme136.cfg +++ b/make/custom/mvme136.cfg @@ -21,17 +21,11 @@ CPU_CFLAGS = # optimize flag: typically -O2 CFLAGS_OPTIMIZE_V = -Os -g -fomit-frame-pointer -DNDEBUG -# 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 |