Changeset c6eba79 in rtems for make


Ignore:
Timestamp:
May 10, 2007, 5:36:19 PM (13 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
9847e4a0
Parents:
6bdfa7a
Message:

2007-05-10 Joel Sherrill <joel.sherrill@…>

  • custom/gba.cfg, custom/gp32.cfg, custom/i386ex.cfg, custom/pc386.cfg, custom/sim68000.cfg, custom/ts_386ex.cfg: Clean up to use .nxe extension instead of BSP unique ones.
Location:
make
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • make/ChangeLog

    r6bdfa7a rc6eba79  
     12007-05-10      Joel Sherrill <joel.sherrill@OARcorp.com>
     2
     3        * custom/gba.cfg, custom/gp32.cfg, custom/i386ex.cfg, custom/pc386.cfg,
     4        custom/sim68000.cfg, custom/ts_386ex.cfg: Clean up to use .nxe
     5        extension instead of BSP unique ones.
     6
    172007-05-09      Joel Sherrill <joel.sherrill@OARcorp.com>
    28
  • make/custom/gba.cfg

    r6bdfa7a rc6eba79  
    2424define make-exe
    2525        $(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) \
    26             -Wl,-Map,$(basename $@).map -o $(basename $@).elf \
     26            -Wl,-Map,$(basename $@).map -o $(basename $@).nxe \
    2727            $(LINK_OBJS) $(LINK_LIBS)
    28         $(OBJCOPY) -O binary  $(basename $@).elf $@
     28        $(OBJCOPY) -O binary  $(basename $@).nxe $@
    2929        $(OBJCOPY) -O binary --remove-section=.comment \
    3030            --remove-section=.note --strip-unneeded \
    31             $(basename $@).elf $(basename $@).gba
    32         $(NM) -g -n $(basename $@).elf > $(basename $@).num
    33         $(SIZE) $(basename $@).elf
     31            $(basename $@).nxe $(basename $@).gba
     32        $(NM) -g -n $(basename $@).nxe > $(basename $@).num
     33        $(SIZE) $(basename $@).nxe
    3434endef
    3535
    3636define make-cxx-exe
    3737        $(LINK.cc) $(AM_CFLAGS) $(AM_CXXFLAGS) $(AM_LDFLAGS) \
    38             -Wl,-Map,$(basename $@).map -o $(basename $@).elf \
     38            -Wl,-Map,$(basename $@).map -o $(basename $@).nxe \
    3939            $(LINK_OBJS) $(LINK_LIBS)
    40         $(OBJCOPY) -O binary  $(basename $@).elf $@
     40        $(OBJCOPY) -O binary  $(basename $@).nxe $@
    4141        $(OBJCOPY) -O binary --remove-section=.comment \
    4242            --remove-section=.note --strip-unneeded  \
    43             $(basename $@).elf $(basename $@).gba
    44         $(NM) -g -n $(basename $@).elf > $(basename $@).num
    45         $(SIZE) $(basename $@).elf
     43            $(basename $@).nxe $(basename $@).gba
     44        $(NM) -g -n $(basename $@).nxe > $(basename $@).num
     45        $(SIZE) $(basename $@).nxe
    4646endef
    4747
  • make/custom/gp32.cfg

    r6bdfa7a rc6eba79  
    2424        $(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) -o $@ \
    2525            $(LINK_OBJS) $(LINK_LIBS)
    26         $(OBJCOPY) -O binary $(basename $@).exe $(basename $@).elf
     26        $(OBJCOPY) -O binary $(basename $@).exe $(basename $@).nxe
    2727        $(NM) -g -n $(basename $@).exe > $(basename $@).num
    2828        $(SIZE) $(basename $@).exe
     
    3232        $(LINK.cc) $(AM_CFLAGS) $(AM_CXXFLAGS) $(AM_LDFLAGS) -o $@ \
    3333            $(LINK_OBJS) $(LINK_LIBS)
    34         $(OBJCOPY) -O binary $(basename $@).exe $(basename $@).elf
     34        $(OBJCOPY) -O binary $(basename $@).exe $(basename $@).nxe
    3535        $(NM) -g -n $(basename $@).exe > $(basename $@).num
    3636        $(SIZE) $(basename $@).exe
  • make/custom/i386ex.cfg

    r6bdfa7a rc6eba79  
    2323#  Something like this should produce a map file but this does not work.
    2424
    25 #     -Xlinker "-Map $(basename $@).map" $(LINK_OBJS)
    26 #
    27 #  This is a good way to get debug information.  The rdmp file is large
    28 #  though (1.9 Mb for hello) and greatly slows the build process.
    29 # $(OBJDUMP) -x -m i386 -d $(basename $@).elf > $(basename $@).rdmp
    30 
    3125# The following are definitions of make-exe which will work using ld as
    3226# is currently required.
  • make/custom/pc386.cfg

    r6bdfa7a rc6eba79  
    4848define make-exe
    4949        $(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) -Wl,-Ttext,$(RELOCADDR) \
    50             -o $(basename $@).elf \
     50            -o $(basename $@).nxe \
    5151            $(LINK_OBJS) $(LINK_LIBS)
    5252        $(OBJCOPY) -O elf32-i386 \
     
    5454            --remove-section=.comment \
    5555            --remove-section=.note \
    56             --strip-unneeded $(basename $@).elf $@
    57         $(OBJCOPY) -O binary $(basename $@).elf $(basename $@).bin
     56            --strip-unneeded $(basename $@).nxe $@
     57        $(OBJCOPY) -O binary $(basename $@).nxe $(basename $@).bin
    5858        $(PROJECT_TOOLS)/bin2boot -v $(basename $@).bt $(HEADERADDR)\
    5959          $(START16FILE) $(START16ADDR) 0 $(basename $@).bin $(RELOCADDR) 0
    60         $(NM) -g -n $(basename $@).elf > $(basename $@).num
    61         $(SIZE) $(basename $@).elf
     60        $(NM) -g -n $(basename $@).nxe > $(basename $@).num
     61        $(SIZE) $(basename $@).nxe
    6262#       test -d ${PROJECT_RELEASE}/BootImgs \
    6363#         || mkdir ${PROJECT_RELEASE}/BootImgs
     
    7272define make-cxx-exe
    7373        $(LINK.cc) $(AM_CFLAGS) $(AM_CXXFLAGS) $(AM_LDFLAGS) \
    74            -Wl,-Ttext,$(RELOCADDR) -o $(basename $@).elf \
     74           -Wl,-Ttext,$(RELOCADDR) -o $(basename $@).nxe \
    7575            $(LINK_OBJS) $(LINK_LIBS)
    7676        $(OBJCOPY) -O elf32-i386 \
     
    7878            --remove-section=.comment \
    7979            --remove-section=.note \
    80             --strip-unneeded $(basename $@).elf $@
    81         $(OBJCOPY) -O binary $(basename $@).elf $(basename $@).bin
     80            --strip-unneeded $(basename $@).nxe $@
     81        $(OBJCOPY) -O binary $(basename $@).nxe $(basename $@).bin
    8282        $(PROJECT_TOOLS)/bin2boot -v $(basename $@).bt $(HEADERADDR)\
    8383          $(START16FILE) $(START16ADDR) 0 $(basename $@).bin $(RELOCADDR) 0
    84         $(NM) -g -n $(basename $@).elf > $(basename $@).num
    85         $(SIZE) $(basename $@).elf
     84        $(NM) -g -n $(basename $@).nxe > $(basename $@).num
     85        $(SIZE) $(basename $@).nxe
    8686endef
    8787
  • make/custom/sim68000.cfg

    r6bdfa7a rc6eba79  
    2828        $(OBJCOPY) -O srec $(basename $@).nxe $(basename $@).exe
    2929        $(NM) -g -n $(basename $@).nxe > $(basename $@).num
    30         $(SIZE) $@
     30        $(SIZE) $(basename $@).nxe
    3131endef
    3232# Miscellaneous additions go here
  • make/custom/ts_386ex.cfg

    r6bdfa7a rc6eba79  
    2222CFLAGS_OPTIMIZE_V = -O2 -g
    2323
    24 #  Something like this should produce a map file but this does not work.
    25 
    26 #     -Xlinker "-Map $(basename $@).map" $(LINK_OBJS)
    27 #
    28 #  This is a good way to get debug information.  The rdmp file is large
    29 #  though (1.9 Mb for hello) and greatly slows the build process.
    30 # $(OBJDUMP) -x -m i386 -d $(basename $@).elf > $(basename $@).rdmp
    31 
    3224define make-exe
    33         $(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) -o $(basename $@).elf \
     25        $(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) -o $(basename $@).nxe \
    3426            $(LINK_OBJS) $(LINK_LIBS)
    35         $(OBJCOPY) -O binary $(basename $@).elf $(basename $@).exe
    36         $(NM) -g -n $(basename $@).elf > $(basename $@).num
    37         $(SIZE) $(basename $@).elf
     27        $(OBJCOPY) -O binary $(basename $@).nxe $(basename $@).exe
     28        $(NM) -g -n $(basename $@).nxe > $(basename $@).num
     29        $(SIZE) $(basename $@).nxe
    3830endef
    3931
Note: See TracChangeset for help on using the changeset viewer.