summaryrefslogtreecommitdiffstats
path: root/make/custom/av5282.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'make/custom/av5282.cfg')
-rw-r--r--make/custom/av5282.cfg22
1 files changed, 4 insertions, 18 deletions
diff --git a/make/custom/av5282.cfg b/make/custom/av5282.cfg
index 3a1196e98a..8b72b402c2 100644
--- a/make/custom/av5282.cfg
+++ b/make/custom/av5282.cfg
@@ -22,22 +22,8 @@ ifndef MTARGET
MTARGET=ram
endif
-
-# 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) -Wl,-Tlinkcmds
- $(OBJCOPY) -O binary --strip-all $(basename $@).nxe $@
- $(SIZE) $(basename $@).nxe
+define bsp-post-link
+ $(default-bsp-post-link)
+ $(OBJCOPY) -O binary --strip-all \
+ $(basename $@)$(EXEEXT) $(basename $@)$(DOWNEXT)
endef
-define make-cxx-exe
- $(LINK.cc) $(AM_CFLAGS) $(AM_LDFLAGS) -o $(basename $@).nxe \
- $(LINK_OBJS) $(LINK_LIBS) -Wl,-Tlinkcmds
- $(OBJCOPY) -O binary --strip-all $(basename $@).nxe $@
- $(SIZE) $(basename $@).nxe
-endef
-
-# Miscellaneous additions go here