summaryrefslogtreecommitdiffstats
path: root/make/custom/gba.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'make/custom/gba.cfg')
-rw-r--r--make/custom/gba.cfg20
1 files changed, 10 insertions, 10 deletions
diff --git a/make/custom/gba.cfg b/make/custom/gba.cfg
index 29fbb40a71..d154fc1e5f 100644
--- a/make/custom/gba.cfg
+++ b/make/custom/gba.cfg
@@ -31,26 +31,26 @@ CXXFLAGS_DEBUG_V=-O1 -ggdb
define make-exe
$(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) \
- -Wl,-Map,$(basename $@).map -o $(basename $@).obj \
+ -Wl,-Map,$(basename $@).map -o $(basename $@).elf \
$(LINK_OBJS) $(LINK_LIBS)
- $(OBJCOPY) -O binary $(basename $@).obj $@
+ $(OBJCOPY) -O binary $(basename $@).elf $@
$(OBJCOPY) -O binary --remove-section=.comment \
--remove-section=.note --strip-unneeded \
- $(basename $@).obj $(basename $@).gba
- $(NM) -g -n $(basename $@).obj > $(basename $@).num
- $(SIZE) $(basename $@).obj
+ $(basename $@).elf $(basename $@).gba
+ $(NM) -g -n $(basename $@).elf > $(basename $@).num
+ $(SIZE) $(basename $@).elf
endef
define make-cxx-exe
$(LINK.cc) $(AM_CFLAGS) $(AM_CXXFLAGS) $(AM_LDFLAGS) \
- -Wl,-Map,$(basename $@).map -o $(basename $@).obj \
+ -Wl,-Map,$(basename $@).map -o $(basename $@).elf \
$(LINK_OBJS) $(LINK_LIBS)
- $(OBJCOPY) -O binary $(basename $@).obj $@
+ $(OBJCOPY) -O binary $(basename $@).elf $@
$(OBJCOPY) -O binary --remove-section=.comment \
--remove-section=.note --strip-unneeded \
- $(basename $@).obj $(basename $@).gba
- $(NM) -g -n $(basename $@).obj > $(basename $@).num
- $(SIZE) $(basename $@).obj
+ $(basename $@).elf $(basename $@).gba
+ $(NM) -g -n $(basename $@).elf > $(basename $@).num
+ $(SIZE) $(basename $@).elf
endef
# Miscellaneous additions go here