Changeset b1a66fea in rtems for make


Ignore:
Timestamp:
Mar 11, 2008, 8:50:58 PM (12 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.9, master
Children:
3617ebe
Parents:
3c769d9
Message:

2008-03-11 Joel Sherrill <joel.sherrill@…>

  • custom/av5282.cfg, custom/bare.cfg, custom/default.cfg, custom/gba.cfg, custom/gp32.cfg, custom/i386ex.cfg, custom/idp.cfg, custom/mbx8xx.cfg, custom/mcf5235.cfg, custom/mcp750.cfg, custom/mrm332.cfg, custom/mtx603e.cfg, custom/mvme136.cfg, custom/mvme147.cfg, custom/mvme162.cfg, custom/mvme162lx.cfg, custom/mvme167.cfg, custom/mvme2100.cfg, custom/mvme2307.cfg, custom/mvme3100.cfg, custom/mvme5500.cfg, custom/nios2_iss.cfg, custom/pc386.cfg, custom/posix.cfg, custom/score603e.cfg, custom/sim68000.cfg, custom/simcpu32.cfg, custom/ss555.cfg, custom/ts_386ex.cfg, custom/uC5282.cfg, custom/virtex.cfg: Switch to explicit .exe instead of EXEEXT to get it to work.
Location:
make
Files:
32 edited

Legend:

Unmodified
Added
Removed
  • make/ChangeLog

    r3c769d9 rb1a66fea  
     12008-03-11      Joel Sherrill <joel.sherrill@OARcorp.com>
     2
     3        * custom/av5282.cfg, custom/bare.cfg, custom/default.cfg,
     4        custom/gba.cfg, custom/gp32.cfg, custom/i386ex.cfg, custom/idp.cfg,
     5        custom/mbx8xx.cfg, custom/mcf5235.cfg, custom/mcp750.cfg,
     6        custom/mrm332.cfg, custom/mtx603e.cfg, custom/mvme136.cfg,
     7        custom/mvme147.cfg, custom/mvme162.cfg, custom/mvme162lx.cfg,
     8        custom/mvme167.cfg, custom/mvme2100.cfg, custom/mvme2307.cfg,
     9        custom/mvme3100.cfg, custom/mvme5500.cfg, custom/nios2_iss.cfg,
     10        custom/pc386.cfg, custom/posix.cfg, custom/score603e.cfg,
     11        custom/sim68000.cfg, custom/simcpu32.cfg, custom/ss555.cfg,
     12        custom/ts_386ex.cfg, custom/uC5282.cfg, custom/virtex.cfg: Switch to
     13        explicit .exe instead of EXEEXT to get it to work.
     14
    1152008-03-06      Till Straumann <strauman@slac.stanford.edu>
    216
  • make/custom/av5282.cfg

    r3c769d9 rb1a66fea  
    2626        $(default-bsp-post-link)
    2727        $(OBJCOPY) -O binary --strip-all \
    28             $(basename $@)$(EXEEXT) $(basename $@)$(DOWNEXT)
     28            $(basename $@).exe $(basename $@)$(DOWNEXT)
    2929endef
  • make/custom/bare.cfg

    r3c769d9 rb1a66fea  
    2929define make-exe
    3030        @echo "*** Cannot do a link with the bare bsp. ***"
    31         @echo "#!/bin/sh" > $(basename $@)$(EXEEXT)
    32         @echo "echo \"Cannot do a link with the bare bsp.\"" >> $(basename $@)$(EXEEXT)
     31        @echo "#!/bin/sh" > $(basename $@).exe
     32        @echo "echo \"Cannot do a link with the bare bsp.\"" >> $(basename $@).exe
    3333endef
    3434
    3535define make-cxx-exe
    3636        @echo "*** Cannot do a link with the bare bsp. ***"
    37         @echo "#!/bin/sh" > $(basename $@)$(EXEEXT)
    38         @echo "echo \"Cannot do a link with the bare bsp.\"" >> $(basename $@)$(EXEEXT)
     37        @echo "#!/bin/sh" > $(basename $@).exe
     38        @echo "echo \"Cannot do a link with the bare bsp.\"" >> $(basename $@).exe
    3939endef
    4040
  • make/custom/default.cfg

    r3c769d9 rb1a66fea  
    2020# Base name of start file
    2121START_BASE=start
    22 
    23 ## what to do about $(EXEEXT) --> $(EXEEXT)
    24 ##    -o $(basename $@)$(EXEEXT)             OR
    25 ##    -o $(basename $@)$(EXEEXT)                  OR
    26 
    27 EXEEXT=.exe
    28 DOWNEXT=.ralf
    29 
    30 define bsp-link-c
    31         $(LINK.c) $(CPU_CFLAGS) $(AM_CFLAGS) $(AM_LDFLAGS) \
    32             -o $(basename $@)$(EXEEXT) $(LINK_OBJS) $(LINK_LIBS)
    33 endef
    34 
    35 define bsp-link-cxx
    36         $(LINK.cc) $(CPU_CFLAGS) $(AM_CFLAGS) $(AM_LDFLAGS) \
    37             -o $(basename $@)$(EXEEXT) $(LINK_OBJS) $(LINK_LIBS)
    38 endef
    39 
    40 define default-bsp-post-link
    41         $(NM) -g -n $@ > $(basename $@).num
    42         $(SIZE) $@
    43 endef
    44 
    45 define bsp-post-link
    46         $(default-bsp-post-link)
    47         cp $(basename $@)$(EXEEXT) $(basename $@)$(DOWNEXT)
    48 endef
    49 
    50 define make-exe
    51        $(bsp-link-c)
    52        $(bsp-post-link)
    53 endef
    54 
    55 define make-cxx-exe
    56        $(bsp-link-cxx)
    57        $(bsp-post-link)
    58 endef
  • make/custom/gba.cfg

    r3c769d9 rb1a66fea  
    2626        $(OBJCOPY) -O binary --remove-section=.comment \
    2727            --remove-section=.note --strip-unneeded \
    28             $(basename $@)$(EXEEXT) $(basename $@)$(DOWNEXT)
     28            $(basename $@).exe $(basename $@)$(DOWNEXT)
    2929        $(default-bsp-post-link)
    3030endef
  • make/custom/gp32.cfg

    r3c769d9 rb1a66fea  
    2222
    2323define bsp-post-link
    24         $(OBJCOPY) -O binary $(basename $@)$(EXEEXT) $(basename $@)$(DOWNEXT)
     24        $(OBJCOPY) -O binary $(basename $@).exe $(basename $@)$(DOWNEXT)
    2525        $(default-bsp-post-link)
    2626endef
  • make/custom/i386ex.cfg

    r3c769d9 rb1a66fea  
    2222
    2323define bsp-post-link
    24         $(OBJCOPY) -O srec $(basename $@)$(EXEEXT) $(basename $@).srec
     24        $(OBJCOPY) -O srec $(basename $@).exe $(basename $@).srec
    2525        sed -e 's/.$$//' -e '/^S0/d' $(basename $@).srec | \
    2626                  $(PACKHEX) > $(basename $@)$(DOWNEXT)
  • make/custom/idp.cfg

    r3c769d9 rb1a66fea  
    2222
    2323define bsp-post-link
    24         $(OBJCOPY) -O srec $(basename $@)$(EXEEXT) $(basename $@).srec
     24        $(OBJCOPY) -O srec $(basename $@).exe $(basename $@).srec
    2525        sed -e 's/.$$//' -e '/^S0/d' $(basename $@).srec | \
    2626            $(PACKHEX) > $(basename $@)$(DOWNEXT)
  • make/custom/mbx8xx.cfg

    r3c769d9 rb1a66fea  
    5555
    5656define bsp-post-link
    57         cp $(basename $@)$(EXEEXT) $(basename $@)$(DOWNEXT)
     57        cp $(basename $@).exe $(basename $@)$(DOWNEXT)
    5858        $(STRIP) $(basename $@)$(DOWNEXT)
    5959        $(default-bsp-post-link)
  • make/custom/mcf5235.cfg

    r3c769d9 rb1a66fea  
    3232define bsp-post-link
    3333        $(OBJCOPY) -O binary --strip-all \
    34             $(basename $@)$(EXEEXT) $(basename $@)$(DOWNEXT)
    35         $(SIZE) $(basename $@)$(EXEEXT)
     34            $(basename $@).exe $(basename $@)$(DOWNEXT)
     35        $(SIZE) $(basename $@).exe
    3636endef
  • make/custom/mcp750.cfg

    r3c769d9 rb1a66fea  
    2323define bsp-post-link
    2424        $(default-bsp-post-link)
    25         $(OBJCOPY) -O binary -R .comment -S $(basename $@)$(EXEEXT) rtems
     25        $(OBJCOPY) -O binary -R .comment -S $(basename $@).exe rtems
    2626        gzip -vf9 rtems
    2727        $(LD) -o $(basename $@)$(DOWNEXT) \
    2828            $ $(PROJECT_RELEASE)/lib/bootloader.o \
    29             --just-symbols=$(basename $@)$(EXEEXT) \
     29            --just-symbols=$(basename $@).exe \
    3030            -b binary rtems.gz -T $(PROJECT_RELEASE)/lib/ppcboot.lds \
    3131            -Map $(basename $@).map && chmod 755 $@
  • make/custom/mrm332.cfg

    r3c769d9 rb1a66fea  
    3737                /\.text/ { base = $$4 ; size = $$3 };\
    3838                END { printf("0x%x", h2d(base) + h2d(size)) }'\
    39                ` $(basename $@).pxe $(basename $@)$(EXEEXT)
    40         $(OBJCOPY) -O srec $(basename $@)$(EXEEXT) $(basename $@).srec
     39               ` $(basename $@).pxe $(basename $@).exe
     40        $(OBJCOPY) -O srec $(basename $@).exe $(basename $@).srec
    4141        sed -e 's/.$$//' -e '/^S0/d' $(basename $@).srec | \
    4242            $(PACKHEX) > $(basename $@)$(DOWNEXT)
     
    4747else
    4848define bsp-post-link
    49         $(OBJCOPY) -O srec $(basename $@)$(EXEEXT) $(basename $@).srec
     49        $(OBJCOPY) -O srec $(basename $@).exe $(basename $@).srec
    5050        sed -e 's/.$$//' -e '/^S0/d' $(basename $@).srec | \
    5151            $(PACKHEX) > $(basename $@)$(DOWNEXT)
  • make/custom/mtx603e.cfg

    r3c769d9 rb1a66fea  
    2222define bsp-post-link
    2323        $(default-bsp-post-link)
    24         $(OBJCOPY) -O binary -R .comment -S $(basename $@)$(EXEEXT) rtems
     24        $(OBJCOPY) -O binary -R .comment -S $(basename $@).exe rtems
    2525        gzip -vf9 rtems
    2626        $(LD) -o $(basename $@)$(DOWNEXT) \
    2727           $(PROJECT_RELEASE)/lib/bootloader.o \
    28             --just-symbols=$(basename $@)$(EXEEXT) \
     28            --just-symbols=$(basename $@).exe \
    2929            -b binary rtems.gz -T $(PROJECT_RELEASE)/lib/ppcboot.lds \
    3030            -Map $(basename $@).map && chmod 755 $@
  • make/custom/mvme136.cfg

    r3c769d9 rb1a66fea  
    2323
    2424define bsp-post-link
    25         $(OBJCOPY) -O srec $(basename $@)$(EXEEXT) $(basename $@).srec
     25        $(OBJCOPY) -O srec $(basename $@).exe $(basename $@).srec
    2626        sed -e 's/.$$//' -e '/^S0/d' $(basename $@).srec | \
    2727            $(PACKHEX) > $(basename $@)$(DOWNEXT)
  • make/custom/mvme147.cfg

    r3c769d9 rb1a66fea  
    2121
    2222define bsp-post-link
    23         $(OBJCOPY) -O srec $(basename $@)$(EXEEXT) $(basename $@).srec
     23        $(OBJCOPY) -O srec $(basename $@).exe $(basename $@).srec
    2424        sed -e 's/.$$//' -e '/^S0/d' $(basename $@).srec | \
    2525            $(PACKHEX) > $(basename $@)$(DOWNEXT)
  • make/custom/mvme162.cfg

    r3c769d9 rb1a66fea  
    2626define bsp-post-link
    2727        $(default-bsp-post-link)
    28         $(OBJCOPY) -O binary $(basename $@)$(EXEEXT) $(basename $@)$(DOWNEXT)
     28        $(OBJCOPY) -O binary $(basename $@).exe $(basename $@)$(DOWNEXT)
    2929endef
    3030
  • make/custom/mvme162lx.cfg

    r3c769d9 rb1a66fea  
    3232define bsp-post-link
    3333        $(default-bsp-post-link)
    34         $(OBJCOPY) -O binary $(basename $@)$(EXEEXT) $(basename $@)$(DOWNEXT)
     34        $(OBJCOPY) -O binary $(basename $@).exe $(basename $@)$(DOWNEXT)
    3535endef
    3636
  • make/custom/mvme167.cfg

    r3c769d9 rb1a66fea  
    4343define bsp-post-link
    4444        $(default-bsp-post-link)
    45         cp $(basename $@)$(EXEEXT) $(basename $@)$(DOWNEXT)
     45        cp $(basename $@).exe $(basename $@)$(DOWNEXT)
    4646        $(STRIP) $(basename $@)$(DOWNEXT)
    4747endef
  • make/custom/mvme2100.cfg

    r3c769d9 rb1a66fea  
    2222define bsp-post-link
    2323        $(default-bsp-post-link)
    24         $(OBJCOPY) -O binary -R .comment -S $(basename $@)$(EXEEXT) rtems
     24        $(OBJCOPY) -O binary -R .comment -S $(basename $@).exe rtems
    2525        gzip -vf9 rtems
    2626        $(LD) -o $(basename $@)$(DOWNEXT) \
    2727            $(PROJECT_RELEASE)/lib/bootloader.o \
    28             --just-symbols=$(basename $@)$(EXEEXT) \
     28            --just-symbols=$(basename $@).exe \
    2929            -b binary rtems.gz -T $(PROJECT_RELEASE)/lib/ppcboot.lds \
    3030            -Map $(basename $@).map && chmod 755 $@
  • make/custom/mvme2307.cfg

    r3c769d9 rb1a66fea  
    2323define bsp-post-link
    2424        $(default-bsp-post-link)
    25         $(OBJCOPY) -O binary -R .comment -S $(basename $@)$(EXEEXT) rtems
     25        $(OBJCOPY) -O binary -R .comment -S $(basename $@).exe rtems
    2626        gzip -vf9 rtems
    2727        $(LD) -o $(basename $@)$(DOWNEXT)  $(PROJECT_RELEASE)/lib/bootloader.o \
    28             --just-symbols=$(basename $@)$(EXEEXT) \
     28            --just-symbols=$(basename $@).exe \
    2929            -b binary rtems.gz -T $(PROJECT_RELEASE)/lib/ppcboot.lds \
    3030            -Map $(basename $@).map && chmod 755 $@
  • make/custom/mvme3100.cfg

    r3c769d9 rb1a66fea  
    3131define bsp-post-link
    3232        $(default-bsp-post-link)
    33         $(OBJCOPY) -O binary $(basename $@)$(EXEEXT) $(basename $@)$(DOWNEXT)
     33        $(OBJCOPY) -O binary $(basename $@).exe $(basename $@)$(DOWNEXT)
    3434endef
    3535
  • make/custom/mvme5500.cfg

    r3c769d9 rb1a66fea  
    2525define bsp-post-link
    2626        $(default-bsp-post-link)
    27         $(OBJCOPY) -O binary $(basename $@)$(EXEEXT) $(basename $@)$(DOWNEXT)
     27        $(OBJCOPY) -O binary $(basename $@).exe $(basename $@)$(DOWNEXT)
    2828endef
    2929
  • make/custom/nios2_iss.cfg

    r3c769d9 rb1a66fea  
    2525
    2626define bsp-post-link
    27         $(OBJCOPY) -O binary --strip-all $(basename $@)$(EXEEXT) \
     27        $(OBJCOPY) -O binary --strip-all $(basename $@).exe \
    2828            -R entry -R exceptions $(basename $@)$(DOWNEXT)
    2929        $(default-bsp-post-link)
  • make/custom/pc386.cfg

    r3c769d9 rb1a66fea  
    2424CFLAGS_OPTIMIZE_V = -O2 -g
    2525
    26 # Here is the rule to actually build a $(ARCH)/foo$(EXEEXT)
     26# Here is the rule to actually build a $(ARCH)/foo.exe
    2727# It also builds $(ARCH)/foo.sr and $(ARCH)/foo.nm
    2828# Usage ref: src/tests/sptest/sp1/Makefile
     
    5151            --remove-section=.comment \
    5252            --remove-section=.note \
    53             --strip-unneeded $(basename $@)$(EXEEXT) $(basename $@).nxe
     53            --strip-unneeded $(basename $@).exe $(basename $@).nxe
    5454        $(OBJCOPY) -O binary $(basename $@).nxe $(basename $@).bin
    5555        $(PROJECT_TOOLS)/bin2boot -v $(basename $@)$(DOWNEXT) $(HEADERADDR)\
  • make/custom/posix.cfg

    r3c769d9 rb1a66fea  
    1818START_BASE=
    1919
    20 # Here is the rule to actually build a $(ARCH)/foo$(EXEEXT)
     20# Here is the rule to actually build a $(ARCH)/foo.exe
    2121# It also builds $(ARCH)/foo.sr and $(ARCH)/foo.nm
    2222# Usage ref: src/tests/sptest/sp1/Makefile
  • make/custom/score603e.cfg

    r3c769d9 rb1a66fea  
    2828define bsp-post-link
    2929        $(default-bsp-post-link)
    30         $(OBJCOPY) -O srec $(basename $@)$(EXEEXT) $(basename $@).s1
     30        $(OBJCOPY) -O srec $(basename $@).exe $(basename $@).s1
    3131        sed -e 's/.$$//' $(basename $@).s1 | \
    3232          $(PACKHEX) >$(basename $@)$(DOWNEXT)
  • make/custom/sim68000.cfg

    r3c769d9 rb1a66fea  
    2222define bsp-post-link
    2323        $(default-bsp-post-link)
    24         $(OBJCOPY) -O srec $(basename $@)$(EXEEXT) $(basename $@)$(DOWNEXT)
     24        $(OBJCOPY) -O srec $(basename $@).exe $(basename $@)$(DOWNEXT)
    2525endef
  • make/custom/simcpu32.cfg

    r3c769d9 rb1a66fea  
    2222define bsp-post-link
    2323        $(default-bsp-post-link)
    24         $(OBJCOPY) -O srec $(basename $@)$(EXEEXT) $(basename $@)$(DOWNEXT)
     24        $(OBJCOPY) -O srec $(basename $@).exe $(basename $@)$(DOWNEXT)
    2525endef
  • make/custom/ss555.cfg

    r3c769d9 rb1a66fea  
    3030define bsp-post-link
    3131        $(default-bsp-post-link)
    32         cp $(basename $@)$(EXEEXT) $(basename $@)$(DOWNEXT)
     32        cp $(basename $@).exe $(basename $@)$(DOWNEXT)
    3333        $(STRIP) $(basename $@)$(DOWNEXT)
    3434endef
  • make/custom/ts_386ex.cfg

    r3c769d9 rb1a66fea  
    2424define bsp-post-link
    2525        $(default-bsp-post-link)
    26         $(OBJCOPY) -O binary $(basename $@)$(EXEEXT) $(basename $@)$(DOWNEXT)
     26        $(OBJCOPY) -O binary $(basename $@).exe $(basename $@)$(DOWNEXT)
    2727endef
  • make/custom/uC5282.cfg

    r3c769d9 rb1a66fea  
    2020define bsp-post-link
    2121        $(default-bsp-post-link)
    22         $(OBJCOPY) -O binary $(basename $@)$(EXEEXT) $(basename $@)$(DOWNEXT)
     22        $(OBJCOPY) -O binary $(basename $@).exe $(basename $@)$(DOWNEXT)
    2323endef
  • make/custom/virtex.cfg

    r3c769d9 rb1a66fea  
    2828define bsp-post-link
    2929        $(default-bsp-post-link)
    30         $(OBJCOPY) -O srec $(basename $@)$(EXEEXT) $(basename $@)$(DOWNEXT)
     30        $(OBJCOPY) -O srec $(basename $@).exe $(basename $@)$(DOWNEXT)
    3131endef
Note: See TracChangeset for help on using the changeset viewer.