2009-04-15 Ralf Corsépius <ralf.corsepius@rtems.org>

* leaf.cfg: Remove hard-coded .exe.
This commit is contained in:
Ralf Corsepius
2009-04-15 08:31:09 +00:00
parent db93c2ffe0
commit 1cb0671023
2 changed files with 7 additions and 3 deletions

View File

@@ -1,3 +1,7 @@
2009-04-15 Ralf Corsépius <ralf.corsepius@rtems.org>
* leaf.cfg: Remove hard-coded .exe.
2008-09-18 Joel Sherrill <joel.sherrill@OARcorp.com> 2008-09-18 Joel Sherrill <joel.sherrill@OARcorp.com>
* leaf.cfg, compilers/gcc-target-default.cfg, custom/default.cfg.in: * leaf.cfg, compilers/gcc-target-default.cfg, custom/default.cfg.in:

View File

@@ -57,12 +57,12 @@ DOWNEXT=.ralf
define bsp-link-c define bsp-link-c
$(LINK.c) $(CPU_CFLAGS) $(AM_CFLAGS) $(AM_LDFLAGS) \ $(LINK.c) $(CPU_CFLAGS) $(AM_CFLAGS) $(AM_LDFLAGS) \
-o $(basename $@).exe $(LINK_OBJS) $(LINK_LIBS) -o $(basename $@)$(EXEEXT) $(LINK_OBJS) $(LINK_LIBS)
endef endef
define bsp-link-cxx define bsp-link-cxx
$(LINK.cc) $(CPU_CFLAGS) $(AM_CFLAGS) $(AM_LDFLAGS) \ $(LINK.cc) $(CPU_CFLAGS) $(AM_CFLAGS) $(AM_LDFLAGS) \
-o $(basename $@).exe $(LINK_OBJS) $(LINK_LIBS) -o $(basename $@)$(EXEEXT) $(LINK_OBJS) $(LINK_LIBS)
endef endef
define default-bsp-post-link define default-bsp-post-link
@@ -73,7 +73,7 @@ endef
ifndef bsp-post-link ifndef bsp-post-link
define bsp-post-link define bsp-post-link
$(default-bsp-post-link) $(default-bsp-post-link)
cp $(basename $@).exe $(basename $@)$(DOWNEXT) cp $(basename $@)$(EXEEXT) $(basename $@)$(DOWNEXT)
endef endef
endif endif