Changeset efdda565 in rtems


Ignore:
Timestamp:
Aug 9, 2013, 4:18:17 AM (7 years ago)
Author:
Nick Withers <nick.withers@…>
Branches:
4.11, 5, master
Children:
c31a7129
Parents:
98bcf4ff
git-author:
Nick Withers <nick.withers@…> (08/09/13 04:18:17)
git-committer:
Sebastian Huber <sebastian.huber@…> (08/09/13 07:18:23)
Message:

Use $(EXEEXT) [defaults to "exe"] to generate binaries

Files:
45 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/arm/gba/make/custom/gba.cfg

    r98bcf4ff refdda565  
    2121        $(OBJCOPY) -O binary --remove-section=.comment \
    2222            --remove-section=.note --strip-unneeded \
    23             $(basename $@).exe $(basename $@)$(DOWNEXT)
     23            $(basename $@)$(EXEEXT) $(basename $@)$(DOWNEXT)
    2424        $(default-bsp-post-link)
    2525endef
  • c/src/lib/libbsp/arm/gp32/make/custom/gp32.cfg

    r98bcf4ff refdda565  
    1717
    1818define bsp-post-link
    19         $(OBJCOPY) -O binary $(basename $@).exe $(basename $@)$(DOWNEXT)
     19        $(OBJCOPY) -O binary $(basename $@)$(EXEEXT) $(basename $@)$(DOWNEXT)
    2020        $(default-bsp-post-link)
    2121endef
  • c/src/lib/libbsp/arm/lm3s69xx/make/custom/lm3s69xx.inc

    r98bcf4ff refdda565  
    1313define bsp-post-link
    1414        $(default-bsp-post-link)
    15         $(OBJCOPY) -O binary $(basename $@).exe $(basename $@).ralf
     15        $(OBJCOPY) -O binary $(basename $@)$(EXEEXT) $(basename $@)$(DOWNEXT)
    1616endef
  • c/src/lib/libbsp/arm/nds/make/custom/nds.cfg

    r98bcf4ff refdda565  
    2929define bsp-post-link
    3030        $(default-bsp-post-link)
    31         $(OBJCOPY) -O binary $(basename $@).exe $(basename $@).bin
     31        $(OBJCOPY) -O binary $(basename $@)$(EXEEXT) $(basename $@).bin
    3232        $(NDSTOOL) -c $(basename $@).nds -9 $(basename $@).bin \
    3333            -7 $(COPROC_ELF_PATH)/coproc.bin
  • c/src/lib/libbsp/arm/raspberrypi/make/custom/raspberrypi.cfg

    r98bcf4ff refdda565  
    1717define bsp-post-link
    1818    $(OBJCOPY) -O binary --strip-all \
    19         $(basename $@).exe $(basename $@)$(DOWNEXT)
    20     $(SIZE) $(basename $@).exe
     19        $(basename $@)$(EXEEXT) $(basename $@)$(DOWNEXT)
     20    $(SIZE) $(basename $@)$(EXEEXT)
    2121endef
    2222
  • c/src/lib/libbsp/i386/pc386/make/custom/pc386.cfg

    r98bcf4ff refdda565  
    4747            --remove-section=.comment \
    4848            --remove-section=.note \
    49             --strip-unneeded $(basename $@).exe $(basename $@).nxe
     49            --strip-unneeded $(basename $@)$(EXEEXT) $(basename $@).nxe
    5050        $(OBJCOPY) -O binary $(basename $@).nxe $(basename $@).bin
    5151        $(PROJECT_TOOLS)/bin2boot -v $(basename $@)$(DOWNEXT) $(HEADERADDR)\
  • c/src/lib/libbsp/lm32/lm32_evr/make/custom/lm32_evr.cfg

    r98bcf4ff refdda565  
    2222
    2323define bsp-post-link
    24         $(OBJCOPY) -O binary --strip-all $(basename $@).exe \
     24        $(OBJCOPY) -O binary --strip-all $(basename $@)$(EXEEXT) \
    2525            -R entry -R exceptions $(basename $@)$(DOWNEXT)
    2626        $(default-bsp-post-link)
  • c/src/lib/libbsp/lm32/milkymist/make/custom/milkymist.cfg

    r98bcf4ff refdda565  
    2222
    2323define bsp-post-link
    24         $(OBJCOPY) -O binary --strip-all $(basename $@).exe \
     24        $(OBJCOPY) -O binary --strip-all $(basename $@)$(EXEEXT) \
    2525            -R entry -R exceptions $(basename $@)$(DOWNEXT)
    2626        $(default-bsp-post-link)
  • c/src/lib/libbsp/m68k/av5282/make/custom/av5282.cfg

    r98bcf4ff refdda565  
    2323        $(default-bsp-post-link)
    2424        $(OBJCOPY) -O binary --strip-all \
    25             $(basename $@).exe $(basename $@)$(DOWNEXT)
     25            $(basename $@)$(EXEEXT) $(basename $@)$(DOWNEXT)
    2626endef
  • c/src/lib/libbsp/m68k/genmcf548x/make/custom/genmcf548x.inc

    r98bcf4ff refdda565  
    1616
    1717define bsp-post-link
    18         $(OBJCOPY) -O binary --strip-all $(basename $@).exe \
     18        $(OBJCOPY) -O binary --strip-all $(basename $@)$(EXEEXT) \
    1919            $(basename $@)$(DOWNEXT)
    2020        $(default-bsp-post-link)
  • c/src/lib/libbsp/m68k/idp/make/custom/idp.cfg

    r98bcf4ff refdda565  
    1717
    1818define bsp-post-link
    19         $(OBJCOPY) -O srec $(basename $@).exe $(basename $@).srec
     19        $(OBJCOPY) -O srec $(basename $@)$(EXEEXT) $(basename $@).srec
    2020        sed -e 's/.$$//' -e '/^S0/d' $(basename $@).srec | \
    2121            $(PACKHEX) > $(basename $@)$(DOWNEXT)
  • c/src/lib/libbsp/m68k/mcf52235/make/custom/mcf52235.cfg

    r98bcf4ff refdda565  
    1919define bsp-post-link
    2020        $(OBJCOPY) -O binary --strip-all \
    21             $(basename $@).exe $(basename $@)$(DOWNEXT)
    22         $(SIZE) $(basename $@).exe
     21            $(basename $@)$(EXEEXT) $(basename $@)$(DOWNEXT)
     22        $(SIZE) $(basename $@)$(EXEEXT)
    2323endef
  • c/src/lib/libbsp/m68k/mcf5225x/make/custom/mcf5225x.cfg

    r98bcf4ff refdda565  
    2323define bsp-post-link
    2424        $(OBJCOPY) -O binary --strip-all \
    25             $(basename $@).exe $(basename $@)$(DOWNEXT)
    26         $(SIZE) $(basename $@).exe
     25            $(basename $@)$(EXEEXT) $(basename $@)$(DOWNEXT)
     26        $(SIZE) $(basename $@)$(EXEEXT)
    2727endef
  • c/src/lib/libbsp/m68k/mcf5235/make/custom/mcf5235.cfg

    r98bcf4ff refdda565  
    2323define bsp-post-link
    2424        $(OBJCOPY) -O binary --strip-all \
    25             $(basename $@).exe $(basename $@)$(DOWNEXT)
    26         $(SIZE) $(basename $@).exe
     25            $(basename $@)$(EXEEXT) $(basename $@)$(DOWNEXT)
     26        $(SIZE) $(basename $@)$(EXEEXT)
    2727endef
  • c/src/lib/libbsp/m68k/mcf5329/make/custom/mcf5329.cfg

    r98bcf4ff refdda565  
    2121define bsp-post-link
    2222        $(OBJCOPY) -O binary --strip-all \
    23             $(basename $@).exe $(basename $@)$(DOWNEXT)
    24         $(SIZE) $(basename $@).exe
     23            $(basename $@)$(EXEEXT) $(basename $@)$(DOWNEXT)
     24        $(SIZE) $(basename $@)$(EXEEXT)
    2525endef
  • c/src/lib/libbsp/m68k/mrm332/make/custom/mrm332.cfg

    r98bcf4ff refdda565  
    3232                /\.text/ { base = $$4 ; size = $$3 };\
    3333                END { printf("0x%x", h2d(base) + h2d(size)) }'\
    34                ` $(basename $@).pxe $(basename $@).exe
    35         $(OBJCOPY) -O srec $(basename $@).exe $(basename $@).srec
     34               ` $(basename $@).pxe $(basename $@)$(EXEEXT)
     35        $(OBJCOPY) -O srec $(basename $@)$(EXEEXT) $(basename $@).srec
    3636        sed -e 's/.$$//' -e '/^S0/d' $(basename $@).srec | \
    3737            $(PACKHEX) > $(basename $@)$(DOWNEXT)
     
    4242else
    4343define bsp-post-link
    44         $(OBJCOPY) -O srec $(basename $@).exe $(basename $@).srec
     44        $(OBJCOPY) -O srec $(basename $@)$(EXEEXT) $(basename $@).srec
    4545        sed -e 's/.$$//' -e '/^S0/d' $(basename $@).srec | \
    4646            $(PACKHEX) > $(basename $@)$(DOWNEXT)
  • c/src/lib/libbsp/m68k/mvme136/make/custom/mvme136.cfg

    r98bcf4ff refdda565  
    1818
    1919define bsp-post-link
    20         $(OBJCOPY) -O srec $(basename $@).exe $(basename $@).srec
     20        $(OBJCOPY) -O srec $(basename $@)$(EXEEXT) $(basename $@).srec
    2121        sed -e 's/.$$//' -e '/^S0/d' $(basename $@).srec | \
    2222            $(PACKHEX) > $(basename $@)$(DOWNEXT)
  • c/src/lib/libbsp/m68k/mvme147/make/custom/mvme147.cfg

    r98bcf4ff refdda565  
    1616
    1717define bsp-post-link
    18         $(OBJCOPY) -O srec $(basename $@).exe $(basename $@).srec
     18        $(OBJCOPY) -O srec $(basename $@)$(EXEEXT) $(basename $@).srec
    1919        sed -e 's/.$$//' -e '/^S0/d' $(basename $@).srec | \
    2020            $(PACKHEX) > $(basename $@)$(DOWNEXT)
  • c/src/lib/libbsp/m68k/mvme147s/make/custom/mvme147s.cfg

    r98bcf4ff refdda565  
    1616
    1717define bsp-post-link
    18         $(OBJCOPY) -O srec $(basename $@).exe $(basename $@).srec
     18        $(OBJCOPY) -O srec $(basename $@)$(EXEEXT) $(basename $@).srec
    1919        sed -e 's/.$$//' -e '/^S0/d' $(basename $@).srec | \
    2020            $(PACKHEX) > $(basename $@)$(DOWNEXT)
  • c/src/lib/libbsp/m68k/mvme162/make/custom/mvme162.cfg

    r98bcf4ff refdda565  
    2121define bsp-post-link
    2222        $(default-bsp-post-link)
    23         $(OBJCOPY) -O binary $(basename $@).exe $(basename $@)$(DOWNEXT)
     23        $(OBJCOPY) -O binary $(basename $@)$(EXEEXT) $(basename $@)$(DOWNEXT)
    2424endef
    2525
  • c/src/lib/libbsp/m68k/mvme162/make/custom/mvme162lx.cfg

    r98bcf4ff refdda565  
    2626define bsp-post-link
    2727        $(default-bsp-post-link)
    28         $(OBJCOPY) -O binary $(basename $@).exe $(basename $@)$(DOWNEXT)
     28        $(OBJCOPY) -O binary $(basename $@)$(EXEEXT) $(basename $@)$(DOWNEXT)
    2929endef
    3030
  • c/src/lib/libbsp/m68k/mvme167/make/custom/mvme167.cfg

    r98bcf4ff refdda565  
    3737define bsp-post-link
    3838        $(default-bsp-post-link)
    39     $(OBJCOPY) -O binary -R .comment -S $(basename $@).exe $(basename $@)$(DOWNEXT)
     39    $(OBJCOPY) -O binary -R .comment -S $(basename $@)$(EXEEXT) $(basename $@)$(DOWNEXT)
    4040endef
  • c/src/lib/libbsp/m68k/sim68000/make/custom/sim68000.cfg

    r98bcf4ff refdda565  
    1717define bsp-post-link
    1818        $(default-bsp-post-link)
    19         $(OBJCOPY) -O srec $(basename $@).exe $(basename $@)$(DOWNEXT)
     19        $(OBJCOPY) -O srec $(basename $@)$(EXEEXT) $(basename $@)$(DOWNEXT)
    2020endef
  • c/src/lib/libbsp/m68k/sim68000/make/custom/simcpu32.cfg

    r98bcf4ff refdda565  
    1717define bsp-post-link
    1818        $(default-bsp-post-link)
    19         $(OBJCOPY) -O srec $(basename $@).exe $(basename $@)$(DOWNEXT)
     19        $(OBJCOPY) -O srec $(basename $@)$(EXEEXT) $(basename $@)$(DOWNEXT)
    2020endef
  • c/src/lib/libbsp/m68k/uC5282/make/custom/uC5282.cfg

    r98bcf4ff refdda565  
    1717define bsp-post-link
    1818        $(default-bsp-post-link)
    19         $(OBJCOPY) -O binary $(basename $@).exe $(basename $@)$(DOWNEXT)
     19        $(OBJCOPY) -O binary $(basename $@)$(EXEEXT) $(basename $@)$(DOWNEXT)
    2020endef
  • c/src/lib/libbsp/nios2/nios2_iss/make/custom/nios2_iss.cfg

    r98bcf4ff refdda565  
    2222
    2323define bsp-post-link
    24         $(OBJCOPY) -O binary --strip-all $(basename $@).exe \
     24        $(OBJCOPY) -O binary --strip-all $(basename $@)$(EXEEXT) \
    2525            -R entry -R exceptions $(basename $@)$(DOWNEXT)
    2626        $(default-bsp-post-link)
  • c/src/lib/libbsp/powerpc/haleakala/make/custom/haleakala.cfg

    r98bcf4ff refdda565  
    2121define bsp-post-link
    2222        $(default-bsp-post-link)
    23         $(OBJCOPY) -O srec $(basename $@).exe $(basename $@)$(DOWNEXT)
     23        $(OBJCOPY) -O srec $(basename $@)$(EXEEXT) $(basename $@)$(DOWNEXT)
    2424endef
  • c/src/lib/libbsp/powerpc/mbx8xx/make/custom/mbx8xx.inc

    r98bcf4ff refdda565  
    5050
    5151define bsp-post-link
    52         cp $(basename $@).exe $(basename $@)$(DOWNEXT)
     52        cp $(basename $@)$(EXEEXT) $(basename $@)$(DOWNEXT)
    5353        $(STRIP) $(basename $@)$(DOWNEXT)
    5454        $(default-bsp-post-link)
  • c/src/lib/libbsp/powerpc/motorola_powerpc/make/custom/mcp750.cfg

    r98bcf4ff refdda565  
    1818define bsp-post-link
    1919        $(default-bsp-post-link)
    20         $(OBJCOPY) -O binary -R .comment -S $(basename $@).exe rtems
     20        $(OBJCOPY) -O binary -R .comment -S $(basename $@)$(EXEEXT) rtems
    2121        gzip -vf9 rtems
    2222        $(LD) -o $(basename $@)$(DOWNEXT) \
    2323            $ $(PROJECT_RELEASE)/lib/bootloader.o \
    24             --just-symbols=$(basename $@).exe \
     24            --just-symbols=$(basename $@)$(EXEEXT) \
    2525            -b binary rtems.gz -T $(PROJECT_RELEASE)/lib/ppcboot.lds \
    2626            -Map $(basename $@).map && chmod 755 $@
  • c/src/lib/libbsp/powerpc/motorola_powerpc/make/custom/mtx603e.cfg

    r98bcf4ff refdda565  
    1717define bsp-post-link
    1818        $(default-bsp-post-link)
    19         $(OBJCOPY) -O binary -R .comment -S $(basename $@).exe rtems
     19        $(OBJCOPY) -O binary -R .comment -S $(basename $@)$(EXEEXT) rtems
    2020        gzip -vf9 rtems
    2121        $(LD) -o $(basename $@)$(DOWNEXT) \
    2222           $(PROJECT_RELEASE)/lib/bootloader.o \
    23             --just-symbols=$(basename $@).exe \
     23            --just-symbols=$(basename $@)$(EXEEXT) \
    2424            -b binary rtems.gz -T $(PROJECT_RELEASE)/lib/ppcboot.lds \
    2525            -Map $(basename $@).map && chmod 755 $@
  • c/src/lib/libbsp/powerpc/motorola_powerpc/make/custom/mvme2100.cfg

    r98bcf4ff refdda565  
    1717define bsp-post-link
    1818        $(default-bsp-post-link)
    19         $(OBJCOPY) -O binary -R .comment -S $(basename $@).exe rtems
     19        $(OBJCOPY) -O binary -R .comment -S $(basename $@)$(EXEEXT) rtems
    2020        gzip -vf9 rtems
    2121        $(LD) -o $(basename $@)$(DOWNEXT) \
    2222            $(PROJECT_RELEASE)/lib/bootloader.o \
    23             --just-symbols=$(basename $@).exe \
     23            --just-symbols=$(basename $@)$(EXEEXT) \
    2424            -b binary rtems.gz -T $(PROJECT_RELEASE)/lib/ppcboot.lds \
    2525            -Map $(basename $@).map && chmod 755 $@
  • c/src/lib/libbsp/powerpc/motorola_powerpc/make/custom/mvme2307.cfg

    r98bcf4ff refdda565  
    1818define bsp-post-link
    1919        $(default-bsp-post-link)
    20         $(OBJCOPY) -O binary -R .comment -S $(basename $@).exe rtems
     20        $(OBJCOPY) -O binary -R .comment -S $(basename $@)$(EXEEXT) rtems
    2121        gzip -vf9 rtems
    2222        $(LD) -o $(basename $@)$(DOWNEXT)  $(PROJECT_RELEASE)/lib/bootloader.o \
    23             --just-symbols=$(basename $@).exe \
     23            --just-symbols=$(basename $@)$(EXEEXT) \
    2424            -b binary rtems.gz -T $(PROJECT_RELEASE)/lib/ppcboot.lds \
    2525            -Map $(basename $@).map && chmod 755 $@
  • c/src/lib/libbsp/powerpc/motorola_powerpc/make/custom/qemuprep-altivec.cfg

    r98bcf4ff refdda565  
    1919define bsp-post-link
    2020        $(default-bsp-post-link)
    21         $(OBJCOPY) -O binary -R .comment -S $(basename $@).exe $(basename $@)$(DOWNEXT)
     21        $(OBJCOPY) -O binary -R .comment -S $(basename $@)$(EXEEXT) $(basename $@)$(DOWNEXT)
    2222endef
    2323else
    2424define bsp-post-link
    2525        $(default-bsp-post-link)
    26         $(OBJCOPY) -O binary -R .comment -S $(basename $@).exe rtems
     26        $(OBJCOPY) -O binary -R .comment -S $(basename $@)$(EXEEXT) rtems
    2727        gzip -vf9 rtems
    2828        $(LD) -o $(basename $@)$(DOWNEXT)  $(PROJECT_RELEASE)/lib/bootloader.o \
    29             --just-symbols=$(basename $@).exe \
     29            --just-symbols=$(basename $@)$(EXEEXT) \
    3030            -b binary rtems.gz -T $(PROJECT_RELEASE)/lib/ppcboot.lds \
    3131            -Map $(basename $@).map && chmod 755 $@
  • c/src/lib/libbsp/powerpc/motorola_powerpc/make/custom/qemuprep.cfg

    r98bcf4ff refdda565  
    1919define bsp-post-link
    2020        $(default-bsp-post-link)
    21         $(OBJCOPY) -O binary -R .comment -S $(basename $@).exe $(basename $@)$(DOWNEXT)
     21        $(OBJCOPY) -O binary -R .comment -S $(basename $@)$(EXEEXT) $(basename $@)$(DOWNEXT)
    2222endef
    2323else
    2424define bsp-post-link
    2525        $(default-bsp-post-link)
    26         $(OBJCOPY) -O binary -R .comment -S $(basename $@).exe rtems
     26        $(OBJCOPY) -O binary -R .comment -S $(basename $@)$(EXEEXT) rtems
    2727        gzip -vf9 rtems
    2828        $(LD) -o $(basename $@)$(DOWNEXT)  $(PROJECT_RELEASE)/lib/bootloader.o \
    29             --just-symbols=$(basename $@).exe \
     29            --just-symbols=$(basename $@)$(EXEEXT) \
    3030            -b binary rtems.gz -T $(PROJECT_RELEASE)/lib/ppcboot.lds \
    3131            -Map $(basename $@).map && chmod 755 $@
  • c/src/lib/libbsp/powerpc/mvme3100/make/custom/mvme3100.cfg

    r98bcf4ff refdda565  
    1818define bsp-post-link
    1919        $(default-bsp-post-link)
    20         $(OBJCOPY) -O binary $(basename $@).exe $(basename $@)$(DOWNEXT)
     20        $(OBJCOPY) -O binary $(basename $@)$(EXEEXT) $(basename $@)$(DOWNEXT)
    2121endef
  • c/src/lib/libbsp/powerpc/mvme5500/make/custom/mvme5500.cfg

    r98bcf4ff refdda565  
    2020define bsp-post-link
    2121        $(default-bsp-post-link)
    22         $(OBJCOPY) -O binary $(basename $@).exe $(basename $@)$(DOWNEXT)
     22        $(OBJCOPY) -O binary $(basename $@)$(EXEEXT) $(basename $@)$(DOWNEXT)
    2323endef
    2424
  • c/src/lib/libbsp/powerpc/qemuppc/make/custom/qemuppc.cfg

    r98bcf4ff refdda565  
    1717define bsp-post-link
    1818        $(default-bsp-post-link)
    19         $(OBJCOPY) -O binary $(basename $@).exe $(basename $@)$(DOWNEXT)
     19        $(OBJCOPY) -O binary $(basename $@)$(EXEEXT) $(basename $@)$(DOWNEXT)
    2020endef
  • c/src/lib/libbsp/powerpc/score603e/make/custom/score603e.cfg

    r98bcf4ff refdda565  
    2323define bsp-post-link
    2424        $(default-bsp-post-link)
    25         $(OBJCOPY) -O srec $(basename $@).exe $(basename $@).s1
     25        $(OBJCOPY) -O srec $(basename $@)$(EXEEXT) $(basename $@).s1
    2626        sed -e 's/.$$//' $(basename $@).s1 | \
    2727          $(PACKHEX) >$(basename $@)$(DOWNEXT)
  • c/src/lib/libbsp/powerpc/ss555/make/custom/ss555.cfg

    r98bcf4ff refdda565  
    2424define bsp-post-link
    2525        $(default-bsp-post-link)
    26         cp $(basename $@).exe $(basename $@)$(DOWNEXT)
     26        cp $(basename $@)$(EXEEXT) $(basename $@)$(DOWNEXT)
    2727        $(STRIP) $(basename $@)$(DOWNEXT)
    2828endef
  • c/src/lib/libbsp/powerpc/tqm8xx/make/custom/tqm8xx.inc

    r98bcf4ff refdda565  
    1616
    1717define bsp-post-link
    18         cp $(basename $@).exe $(basename $@)$(DOWNEXT)
     18        cp $(basename $@)$(EXEEXT) $(basename $@)$(DOWNEXT)
    1919        $(STRIP) $(basename $@)$(DOWNEXT)
    2020        $(default-bsp-post-link)
  • c/src/lib/libbsp/powerpc/virtex/make/custom/virtex.cfg

    r98bcf4ff refdda565  
    2020define bsp-post-link
    2121        $(default-bsp-post-link)
    22         $(OBJCOPY) -O srec $(basename $@).exe $(basename $@)$(DOWNEXT)
     22        $(OBJCOPY) -O srec $(basename $@)$(EXEEXT) $(basename $@)$(DOWNEXT)
    2323endef
  • c/src/lib/libbsp/powerpc/virtex4/make/custom/virtex4.cfg

    r98bcf4ff refdda565  
    1515define bsp-post-link
    1616        $(default-bsp-post-link)
    17         $(OBJCOPY) -O srec $(basename $@).exe $(basename $@)$(DOWNEXT)
     17        $(OBJCOPY) -O srec $(basename $@)$(EXEEXT) $(basename $@)$(DOWNEXT)
    1818endef
    1919
  • c/src/lib/libbsp/powerpc/virtex5/make/custom/virtex5.cfg

    r98bcf4ff refdda565  
    1515define bsp-post-link
    1616        $(default-bsp-post-link)
    17         $(OBJCOPY) -O srec $(basename $@).exe $(basename $@)$(DOWNEXT)
     17        $(OBJCOPY) -O srec $(basename $@)$(EXEEXT) $(basename $@)$(DOWNEXT)
    1818endef
    1919
  • c/src/make/leaf.cfg

    r98bcf4ff refdda565  
    99endif
    1010
    11 ## what to do about $(EXEEXT) --> $(EXEEXT)
    12 ##    -o $(basename $@)$(EXEEXT)             OR
    13 ##    -o $(basename $@)$(EXEEXT)                  OR
    14 
    15 DOWNEXT=.ralf
     11EXEEXT?=.exe
     12DOWNEXT?=.ralf
    1613
    1714define bsp-link-c
  • make/leaf.cfg

    r98bcf4ff refdda565  
    7979endif
    8080
    81 ## what to do about $(EXEEXT) --> $(EXEEXT)
    82 ##    -o $(basename $@)$(EXEEXT)             OR
    83 ##    -o $(basename $@)$(EXEEXT)                  OR
    84 
    85 DOWNEXT=.ralf
     81EXEEXT?=.exe
     82DOWNEXT?=.ralf
    8683
    8784define bsp-link-c
    8885        $(LINK.c) $(CPU_CFLAGS) $(AM_CFLAGS) $(AM_LDFLAGS) \
    89             -o $(basename $@).exe $(LINK_OBJS) $(LINK_LIBS)
     86            -o $(basename $@)$(EXEEXT) $(LINK_OBJS) $(LINK_LIBS)
    9087endef
    9188
    9289define bsp-link-cxx
    9390        $(LINK.cc) $(CPU_CFLAGS) $(AM_CFLAGS) $(AM_LDFLAGS) \
    94             -o $(basename $@).exe $(LINK_OBJS) $(LINK_LIBS)
     91            -o $(basename $@)$(EXEEXT) $(LINK_OBJS) $(LINK_LIBS)
    9592endef
    9693
     
    103100define bsp-post-link
    104101        $(default-bsp-post-link)
    105         cp $(basename $@).exe $(basename $@)$(DOWNEXT)
     102        cp $(basename $@)$(EXEEXT) $(basename $@)$(DOWNEXT)
    106103endef
    107104endif
Note: See TracChangeset for help on using the changeset viewer.