summaryrefslogtreecommitdiffstats
path: root/make/custom/hurricane.cfg
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--make/custom/hurricane.cfg15
1 files changed, 3 insertions, 12 deletions
diff --git a/make/custom/hurricane.cfg b/make/custom/hurricane.cfg
index d7540beb0a..7a244ec02e 100644
--- a/make/custom/hurricane.cfg
+++ b/make/custom/hurricane.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
-