binutils: upgrade to 2.21 and add libtool sysroot support

* Upgraded binutils to v2.21
* Incorporated libtool sysroot patches from OE
* Removed patches no longer needed or obsoleted by OE patches

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
This commit is contained in:
Scott Garman
2010-12-22 10:10:33 -08:00
committed by Saul Wold
parent 6656381714
commit c15f20a124
18 changed files with 18732 additions and 138 deletions

View File

@@ -0,0 +1,20 @@
don't let the distro compiler point to the wrong installation location
Thanks to RP for helping find the source code causing the issue.
2010/08/13
Nitin A Kamble <nitin.a.kamble@intel.com>
Index: binutils-2.20.1/libiberty/Makefile.in
===================================================================
--- binutils-2.20.1.orig/libiberty/Makefile.in
+++ binutils-2.20.1/libiberty/Makefile.in
@@ -327,7 +327,8 @@ install: install_to_$(INSTALL_DEST) inst
# multilib-specific flags, it's overridden by FLAGS_TO_PASS from the
# default multilib, so we have to take CFLAGS into account as well,
# since it will be passed the multilib flags.
-MULTIOSDIR = `$(CC) $(CFLAGS) -print-multi-os-directory`
+#MULTIOSDIR = `$(CC) $(CFLAGS) -print-multi-os-directory`
+MULTIOSDIR = ""
install_to_libdir: all
${mkinstalldirs} $(DESTDIR)$(libdir)/$(MULTIOSDIR)
$(INSTALL_DATA) $(TARGETLIB) $(DESTDIR)$(libdir)/$(MULTIOSDIR)/$(TARGETLIB)n