summaryrefslogtreecommitdiffstats
path: root/make/custom/uC5282.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'make/custom/uC5282.cfg')
-rw-r--r--make/custom/uC5282.cfg19
1 files changed, 3 insertions, 16 deletions
diff --git a/make/custom/uC5282.cfg b/make/custom/uC5282.cfg
index f49818716f..31c7b2314f 100644
--- a/make/custom/uC5282.cfg
+++ b/make/custom/uC5282.cfg
@@ -17,20 +17,7 @@ CPU_CFLAGS = -m528x
# optimize flag: typically -O2
CFLAGS_OPTIMIZE_V = -O2 -g
-# 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 binary --strip-all $(basename $@).nxe $@
- $(SIZE) $(basename $@).nxe
-endef
-define make-cxx-exe
- $(LINK.cc) $(AM_CFLAGS) $(AM_LDFLAGS) -o $(basename $@).nxe \
- $(LINK_OBJS) $(LINK_LIBS)
- $(OBJCOPY) -O binary --strip-all $(basename $@).nxe $@
- $(SIZE) $(basename $@).nxe
+define bsp-post-link
+ $(default-bsp-post-link)
+ $(OBJCOPY) -O binary $(basename $@)$(EXEEXT) $(basename $@)$(DOWNEXT)
endef
-
-# Miscellaneous additions go here