From 009407e6be898abedb308247a82e4dee525e6570 Mon Sep 17 00:00:00 2001 From: Gustavo Zacarias Date: Fri, 31 Dec 2010 08:39:01 -0300 Subject: binutils: make it a proper package * Convert binutils to a proper autotargets package * Add version 2.21 and drop version 2.17 * Hook up packaged binutils for target gcc * Build tools are on HOST_DIR now so change it * Move cross/host gcc to HOST_DIR * Drop kludge from commit 3c77bab2eeace3ee675bd745ca335fa3dd1630bb This is fixed in the next commit "gcc: install copies of libgcc, libstdc++ and libgcj to the sysroot" - tested for arm & x86_64 targets. * TARGET_CROSS now pointed to HOST_DIR too [Peter: Config.in tweaks] Signed-off-by: Gustavo Zacarias Signed-off-by: Peter Korsgaard --- .../binutils-2.18/100-makeinfo-version.patch | 32 ++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 package/binutils/binutils-2.18/100-makeinfo-version.patch (limited to 'package/binutils/binutils-2.18/100-makeinfo-version.patch') diff --git a/package/binutils/binutils-2.18/100-makeinfo-version.patch b/package/binutils/binutils-2.18/100-makeinfo-version.patch new file mode 100644 index 000000000..d911d6236 --- /dev/null +++ b/package/binutils/binutils-2.18/100-makeinfo-version.patch @@ -0,0 +1,32 @@ +diff -u binutils-2.18-orig/configure binutils-2.18/configure +--- binutils-2.18-orig/configure 2007-08-06 16:29:40.000000000 -0400 ++++ binutils-2.18/configure 2007-09-27 22:41:51.000000000 -0400 +@@ -6125,10 +6125,10 @@ + *" texinfo "*) MAKEINFO='$$r/$(BUILD_SUBDIR)/texinfo/makeinfo/makeinfo' ;; + *) + +- # For an installed makeinfo, we require it to be from texinfo 4.4 or ++ # For an installed makeinfo, we require it to be from texinfo 4.6 or + # higher, else we use the "missing" dummy. + if ${MAKEINFO} --version \ +- | egrep 'texinfo[^0-9]*([1-3][0-9]|4\.[4-9]|[5-9])' >/dev/null 2>&1; then ++ | egrep 'texinfo[^0-9]*(4\.([6-9]|[1-9][0-9])|[5-9]|[1-9][0-9])' >/dev/null 2>&1; then + : + else + MAKEINFO="$MISSING makeinfo" +diff -u binutils-2.18-orig/configure.ac binutils-2.18/configure.ac +--- binutils-2.18-orig/configure.ac 2007-08-28 16:24:26.000000000 -0400 ++++ binutils-2.18/configure.ac 2007-09-27 22:41:00.000000000 -0400 +@@ -2400,10 +2400,10 @@ + *" texinfo "*) MAKEINFO='$$r/$(BUILD_SUBDIR)/texinfo/makeinfo/makeinfo' ;; + *) + changequote(,) +- # For an installed makeinfo, we require it to be from texinfo 4.4 or ++ # For an installed makeinfo, we require it to be from texinfo 4.6 or + # higher, else we use the "missing" dummy. + if ${MAKEINFO} --version \ +- | egrep 'texinfo[^0-9]*([1-3][0-9]|4\.[4-9]|[5-9])' >/dev/null 2>&1; then ++ | egrep 'texinfo[^0-9]*(4\.([6-9]|[1-9][0-9])|[5-9]|[1-9][0-9])' >/dev/null 2>&1; then + : + else + MAKEINFO="$MISSING makeinfo" -- cgit v1.2.3