summaryrefslogtreecommitdiffstats
path: root/make/custom/gba.cfg
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2005-11-22 14:12:15 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2005-11-22 14:12:15 +0000
commit63606e2329368a3900959840516fde50c9bc3ae7 (patch)
tree0da046174f92b2c556bed45d8f06455acc3f498a /make/custom/gba.cfg
parent2005-11-22 Ralf Corsepius <ralf.corsepius@rtems.org> (diff)
downloadrtems-63606e2329368a3900959840516fde50c9bc3ae7.tar.bz2
2005-11-22 Ralf Corsepius <ralf.corsepius@rtems.org>
* custom/gba.cfg, custom/pc386.cfg: Use .elf instead of .obj.
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