Changeset 63606e2 in rtems for make


Ignore:
Timestamp:
Nov 22, 2005, 2:12:15 PM (14 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
fdd2816
Parents:
dd8b491
Message:

2005-11-22 Ralf Corsepius <ralf.corsepius@…>

  • custom/gba.cfg, custom/pc386.cfg: Use .elf instead of .obj.
Location:
make
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • make/ChangeLog

    rdd8b491 r63606e2  
     12005-11-22      Ralf Corsepius <ralf.corsepius@rtems.org>
     2
     3        * custom/gba.cfg, custom/pc386.cfg: Use .elf instead of .obj.
     4
    152005-11-22      Ralf Corsepius <ralf.corsepius@rtems.org>
    26
  • make/custom/gba.cfg

    rdd8b491 r63606e2  
    3232define make-exe
    3333        $(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) \
    34             -Wl,-Map,$(basename $@).map -o $(basename $@).obj \
     34            -Wl,-Map,$(basename $@).map -o $(basename $@).elf \
    3535            $(LINK_OBJS) $(LINK_LIBS)
    36         $(OBJCOPY) -O binary  $(basename $@).obj $@
     36        $(OBJCOPY) -O binary  $(basename $@).elf $@
    3737        $(OBJCOPY) -O binary --remove-section=.comment \
    3838            --remove-section=.note --strip-unneeded \
    39             $(basename $@).obj $(basename $@).gba
    40         $(NM) -g -n $(basename $@).obj > $(basename $@).num
    41         $(SIZE) $(basename $@).obj
     39            $(basename $@).elf $(basename $@).gba
     40        $(NM) -g -n $(basename $@).elf > $(basename $@).num
     41        $(SIZE) $(basename $@).elf
    4242endef
    4343
    4444define make-cxx-exe
    4545        $(LINK.cc) $(AM_CFLAGS) $(AM_CXXFLAGS) $(AM_LDFLAGS) \
    46             -Wl,-Map,$(basename $@).map -o $(basename $@).obj \
     46            -Wl,-Map,$(basename $@).map -o $(basename $@).elf \
    4747            $(LINK_OBJS) $(LINK_LIBS)
    48         $(OBJCOPY) -O binary  $(basename $@).obj $@
     48        $(OBJCOPY) -O binary  $(basename $@).elf $@
    4949        $(OBJCOPY) -O binary --remove-section=.comment \
    5050            --remove-section=.note --strip-unneeded  \
    51             $(basename $@).obj $(basename $@).gba
    52         $(NM) -g -n $(basename $@).obj > $(basename $@).num
    53         $(SIZE) $(basename $@).obj
     51            $(basename $@).elf $(basename $@).gba
     52        $(NM) -g -n $(basename $@).elf > $(basename $@).num
     53        $(SIZE) $(basename $@).elf
    5454endef
    5555
  • make/custom/pc386.cfg

    rdd8b491 r63606e2  
    5151define make-exe
    5252        $(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) -Wl,-Ttext,$(RELOCADDR) \
    53             -o $(basename $@).obj \
     53            -o $(basename $@).elf \
    5454            $(LINK_OBJS) $(LINK_LIBS)
    5555        $(OBJCOPY) -O elf32-i386 \
     
    5757            --remove-section=.comment \
    5858            --remove-section=.note \
    59             --strip-unneeded $(basename $@).obj $@
    60         $(OBJCOPY) -O binary $(basename $@).obj $(basename $@).bin
     59            --strip-unneeded $(basename $@).elf $@
     60        $(OBJCOPY) -O binary $(basename $@).elf $(basename $@).bin
    6161        $(PROJECT_TOOLS)/bin2boot -v $(basename $@).bt $(HEADERADDR)\
    6262          $(START16FILE) $(START16ADDR) 0 $(basename $@).bin $(RELOCADDR) 0
    63         $(NM) -g -n $(basename $@).obj > $(basename $@).num
    64         $(SIZE) $(basename $@).obj
     63        $(NM) -g -n $(basename $@).elf > $(basename $@).num
     64        $(SIZE) $(basename $@).elf
    6565#       test -d ${PROJECT_RELEASE}/BootImgs \
    6666#         || mkdir ${PROJECT_RELEASE}/BootImgs
     
    7575define make-cxx-exe
    7676        $(LINK.cc) $(AM_CFLAGS) $(AM_CXXFLAGS) $(AM_LDFLAGS) \
    77            -Wl,-Ttext,$(RELOCADDR) -o $(basename $@).obj \
     77           -Wl,-Ttext,$(RELOCADDR) -o $(basename $@).elf \
    7878            $(LINK_OBJS) $(LINK_LIBS)
    7979        $(OBJCOPY) -O elf32-i386 \
     
    8181            --remove-section=.comment \
    8282            --remove-section=.note \
    83             --strip-unneeded $(basename $@).obj $@
    84         $(OBJCOPY) -O binary $(basename $@).obj $(basename $@).bin
     83            --strip-unneeded $(basename $@).elf $@
     84        $(OBJCOPY) -O binary $(basename $@).elf $(basename $@).bin
    8585        $(PROJECT_TOOLS)/bin2boot -v $(basename $@).bt $(HEADERADDR)\
    8686          $(START16FILE) $(START16ADDR) 0 $(basename $@).bin $(RELOCADDR) 0
    87         $(NM) -g -n $(basename $@).obj > $(basename $@).num
    88         $(SIZE) $(basename $@).obj
     87        $(NM) -g -n $(basename $@).elf > $(basename $@).num
     88        $(SIZE) $(basename $@).elf
    8989endef
    9090
Note: See TracChangeset for help on using the changeset viewer.