forked from Imagelibrary/rtems
2008-09-15 Joel Sherrill <joel.sherrill@oarcorp.com>
* leaf.cfg: LINK.c and LINK.cc include LDFLAGS so do not include it in make-exe and make-cxx-exe definitions. This was resulting in the linker script being processed twice and breaking some BSPs.
This commit is contained in:
@@ -1,3 +1,9 @@
|
|||||||
|
2008-09-15 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||||
|
|
||||||
|
* leaf.cfg: LINK.c and LINK.cc include LDFLAGS so do not include it in
|
||||||
|
make-exe and make-cxx-exe definitions. This was resulting in the
|
||||||
|
linker script being processed twice and breaking some BSPs.
|
||||||
|
|
||||||
2008-09-09 Joel Sherrill <joel.sherrill@OARcorp.com>
|
2008-09-09 Joel Sherrill <joel.sherrill@OARcorp.com>
|
||||||
|
|
||||||
* leaf.cfg, compilers/gcc-target-default.cfg: Remove use of AM_LDFLAGS.
|
* leaf.cfg, compilers/gcc-target-default.cfg: Remove use of AM_LDFLAGS.
|
||||||
|
|||||||
@@ -66,12 +66,12 @@ endif
|
|||||||
DOWNEXT=.ralf
|
DOWNEXT=.ralf
|
||||||
|
|
||||||
define bsp-link-c
|
define bsp-link-c
|
||||||
$(LINK.c) $(CPU_CFLAGS) $(AM_CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) \
|
$(LINK.c) $(CPU_CFLAGS) $(AM_CFLAGS) $(AM_LDFLAGS) \
|
||||||
-o $(basename $@).exe $(LINK_OBJS) $(LINK_LIBS)
|
-o $(basename $@).exe $(LINK_OBJS) $(LINK_LIBS)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define bsp-link-cxx
|
define bsp-link-cxx
|
||||||
$(LINK.cc) $(CPU_CFLAGS) $(AM_CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) \
|
$(LINK.cc) $(CPU_CFLAGS) $(AM_CFLAGS) $(AM_LDFLAGS) \
|
||||||
-o $(basename $@).exe $(LINK_OBJS) $(LINK_LIBS)
|
-o $(basename $@).exe $(LINK_OBJS) $(LINK_LIBS)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,9 @@
|
|||||||
|
2008-09-15 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||||
|
|
||||||
|
* leaf.cfg: LINK.c and LINK.cc include LDFLAGS so do not include it in
|
||||||
|
make-exe and make-cxx-exe definitions. This was resulting in the
|
||||||
|
linker script being processed twice and breaking some BSPs.
|
||||||
|
|
||||||
2008-09-09 Joel Sherrill <joel.sherrill@OARcorp.com>
|
2008-09-09 Joel Sherrill <joel.sherrill@OARcorp.com>
|
||||||
|
|
||||||
* leaf.cfg, compilers/gcc-target-default.cfg, custom/bf537Stamp.cfg,
|
* leaf.cfg, compilers/gcc-target-default.cfg, custom/bf537Stamp.cfg,
|
||||||
|
|||||||
@@ -117,12 +117,12 @@ endif
|
|||||||
DOWNEXT=.ralf
|
DOWNEXT=.ralf
|
||||||
|
|
||||||
define bsp-link-c
|
define bsp-link-c
|
||||||
$(LINK.c) $(CPU_CFLAGS) $(AM_CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) \
|
$(LINK.c) $(CPU_CFLAGS) $(AM_CFLAGS) $(AM_LDFLAGS) \
|
||||||
-o $(basename $@).exe $(LINK_OBJS) $(LINK_LIBS)
|
-o $(basename $@).exe $(LINK_OBJS) $(LINK_LIBS)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define bsp-link-cxx
|
define bsp-link-cxx
|
||||||
$(LINK.cc) $(CPU_CFLAGS) $(AM_CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) \
|
$(LINK.cc) $(CPU_CFLAGS) $(AM_CFLAGS) $(AM_LDFLAGS) \
|
||||||
-o $(basename $@).exe $(LINK_OBJS) $(LINK_LIBS)
|
-o $(basename $@).exe $(LINK_OBJS) $(LINK_LIBS)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user