summaryrefslogtreecommitdiffstats
path: root/make/custom/mvme3100.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'make/custom/mvme3100.cfg')
-rw-r--r--make/custom/mvme3100.cfg19
1 files changed, 4 insertions, 15 deletions
diff --git a/make/custom/mvme3100.cfg b/make/custom/mvme3100.cfg
index 8e32fc1750..7c6adbbdde 100644
--- a/make/custom/mvme3100.cfg
+++ b/make/custom/mvme3100.cfg
@@ -28,21 +28,10 @@ CFLAGS_OPTIMIZE_V = -O4
# BSP using inlined code
CFLAGS_DEBUG_V = -O1 -g
-define make-exe
- $(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) -o $(@:%.exe=%.nxe) $(LINK_OBJS) $(LINK_LIBS)
- $(NM) -g -n $(@:%.exe=%.nxe) > $(basename $(@:%.exe=%.nxe)).num
- $(SIZE) $(@:%.exe=%.nxe)
-# test -d ${PROJECT_RELEASE}/bin || mkdir ${PROJECT_RELEASE}/bin
- $(OBJCOPY) -Obinary $(@:%.exe=%.nxe) $(@:%.exe=%)$(LIB_VARIANT).exe
-endef
-
-define make-cxx-exe
- $(LINK.cc) $(AM_CFLAGS) $(AM_LDFLAGS) -o $(@:%.exe=%.nxe) $(LINK_OBJS) $(LINK_LIBS)
- $(NM) -g -n $(@:%.exe=%.nxe) > $(basename $(@:%.exe=%.nxe)).num
- $(SIZE) $(@:%.exe=%.nxe)
-# test -d ${PROJECT_RELEASE}/bin || mkdir ${PROJECT_RELEASE}/bin
- $(OBJCOPY) -Obinary $(@:%.exe=%.nxe) $(@:%.exe=%)$(LIB_VARIANT).exe
-endef
+define bsp-post-link
+ $(default-bsp-post-link)
+ $(OBJCOPY) -O binary $(basename $@)$(EXEEXT) $(basename $@)$(DOWNEXT)
+endif
# Miscellaneous additions go here
START_BASE = motld_start