diff options
Diffstat (limited to '')
-rw-r--r-- | make/custom/rbtx4925.cfg | 15 |
1 files changed, 3 insertions, 12 deletions
diff --git a/make/custom/rbtx4925.cfg b/make/custom/rbtx4925.cfg index 07194fd016..1d9539ca9b 100644 --- a/make/custom/rbtx4925.cfg +++ b/make/custom/rbtx4925.cfg @@ -18,18 +18,9 @@ CPU_CFLAGS = -mips3 -G0 -EL # 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 $@ -Xlinker -Map -Xlinker $(basename $@).map $(LINK_OBJS) $(LINK_LIBS) +define bsp-post-link $(OBJCOPY) -O srec $@ $(basename $@).srec1 - $(PACKHEX) < $(basename $@).srec1 > $(basename $@).srec + $(PACKHEX) < $(basename $@).srec1 > $(basename $@)$(DOWNEXT) $(RM) $(basename $@).srec1 - $(NM) -g -n $@ > $(basename $@).num - $(SIZE) $@ + $(default-bsp-post-link) endef - -# Miscellaneous additions go here - |