summaryrefslogtreecommitdiffstats
path: root/make/custom/gp32.cfg
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--make/custom/gp32.cfg19
1 files changed, 3 insertions, 16 deletions
diff --git a/make/custom/gp32.cfg b/make/custom/gp32.cfg
index 950f0fa42a..05e8ec2b93 100644
--- a/make/custom/gp32.cfg
+++ b/make/custom/gp32.cfg
@@ -20,20 +20,7 @@ CPU_CFLAGS = -mcpu=arm920t -mstructure-size-boundary=32
# optimize flag: typically -O2
CFLAGS_OPTIMIZE_V = -O2 -g
-define make-exe
- $(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) -o $@ \
- $(LINK_OBJS) $(LINK_LIBS)
- $(OBJCOPY) -O binary $(basename $@).exe $(basename $@).nxe
- $(NM) -g -n $(basename $@).exe > $(basename $@).num
- $(SIZE) $(basename $@).exe
+define bsp-post-link
+ $(OBJCOPY) -O binary $(basename $@)$(EXEEXT) $(basename $@)$(DOWNEXT)
+ $(default-bsp-post-link)
endef
-
-define make-cxx-exe
- $(LINK.cc) $(AM_CFLAGS) $(AM_CXXFLAGS) $(AM_LDFLAGS) -o $@ \
- $(LINK_OBJS) $(LINK_LIBS)
- $(OBJCOPY) -O binary $(basename $@).exe $(basename $@).nxe
- $(NM) -g -n $(basename $@).exe > $(basename $@).num
- $(SIZE) $(basename $@).exe
-endef
-
-# Miscellaneous additions go here