summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoss Burton <ross@burtonini.com>2021-12-10 14:22:34 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-12-12 18:10:22 +0000
commitbe8fe788e29e7b9c231e1a8ac885e5087f6442a4 (patch)
treeacf7035b4cff9b493e66441a6a3446ff8d746ef8
parentebf34d5b252cc9bec3ba97039807e2fa03dcfbe2 (diff)
downloadpoky-be8fe788e29e7b9c231e1a8ac885e5087f6442a4.tar.gz
binutils: don't expect libtool to be host-prefixed
We update the libtool m4 files in binutils with the latest files from our patched libtool so that we can use the --with-libtool-sysroot option. Remove the chunks that are specific to the libtool renaming, which now doesn't happen. (From OE-Core rev: 30baaf6c20a2e1619439cf3eb8d9ce7cb877d2fa) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-devtools/binutils/binutils/0013-Use-libtool-2.4.patch171
1 files changed, 0 insertions, 171 deletions
diff --git a/meta/recipes-devtools/binutils/binutils/0013-Use-libtool-2.4.patch b/meta/recipes-devtools/binutils/binutils/0013-Use-libtool-2.4.patch
index a75e72105f..8f87cfdb77 100644
--- a/meta/recipes-devtools/binutils/binutils/0013-Use-libtool-2.4.patch
+++ b/meta/recipes-devtools/binutils/binutils/0013-Use-libtool-2.4.patch
@@ -796,25 +796,6 @@ index daa51244369..79d0c4b4623 100755
796 cat > conftest.c << _LT_EOF 796 cat > conftest.c << _LT_EOF
797 int main() { return 0;} 797 int main() { return 0;}
798 _LT_EOF 798 _LT_EOF
799@@ -7706,7 +8201,8 @@ fi
800 LIBTOOL_DEPS="$ltmain"
801
802 # Always use our own libtool.
803-LIBTOOL='$(SHELL) $(top_builddir)/libtool'
804+LIBTOOL='$(SHELL) $(top_builddir)'
805+LIBTOOL="$LIBTOOL/${host_alias}-libtool"
806
807
808
809@@ -7795,7 +8291,7 @@ aix3*)
810 esac
811
812 # Global variables:
813-ofile=libtool
814+ofile=${host_alias}-libtool
815 can_build_shared=yes
816
817 # All known linkers require a `.a' archive for static linking (except MSVC,
818@@ -8093,8 +8589,6 @@ fi 799@@ -8093,8 +8589,6 @@ fi
819 lt_prog_compiler_pic= 800 lt_prog_compiler_pic=
820 lt_prog_compiler_static= 801 lt_prog_compiler_static=
@@ -2757,25 +2738,6 @@ index bf6461dab1e..8e6f6d30b4d 100755
2757 cat > conftest.c << _LT_EOF 2738 cat > conftest.c << _LT_EOF
2758 int main() { return 0;} 2739 int main() { return 0;}
2759 _LT_EOF 2740 _LT_EOF
2760@@ -7593,7 +8088,8 @@ fi
2761 LIBTOOL_DEPS="$ltmain"
2762
2763 # Always use our own libtool.
2764-LIBTOOL='$(SHELL) $(top_builddir)/libtool'
2765+LIBTOOL='$(SHELL) $(top_builddir)'
2766+LIBTOOL="$LIBTOOL/${host_alias}-libtool"
2767
2768
2769
2770@@ -7682,7 +8178,7 @@ aix3*)
2771 esac
2772
2773 # Global variables:
2774-ofile=libtool
2775+ofile=${host_alias}-libtool
2776 can_build_shared=yes
2777
2778 # All known linkers require a `.a' archive for static linking (except MSVC,
2779@@ -7980,8 +8476,6 @@ fi 2741@@ -7980,8 +8476,6 @@ fi
2780 lt_prog_compiler_pic= 2742 lt_prog_compiler_pic=
2781 lt_prog_compiler_static= 2743 lt_prog_compiler_static=
@@ -4696,25 +4658,6 @@ index 789d1b38b33..7ac563a13ad 100755
4696 cat > conftest.c << _LT_EOF 4658 cat > conftest.c << _LT_EOF
4697 int main() { return 0;} 4659 int main() { return 0;}
4698 _LT_EOF 4660 _LT_EOF
4699@@ -7318,7 +7813,8 @@ fi
4700 LIBTOOL_DEPS="$ltmain"
4701
4702 # Always use our own libtool.
4703-LIBTOOL='$(SHELL) $(top_builddir)/libtool'
4704+LIBTOOL='$(SHELL) $(top_builddir)'
4705+LIBTOOL="$LIBTOOL/${host_alias}-libtool"
4706
4707
4708
4709@@ -7407,7 +7903,7 @@ aix3*)
4710 esac
4711
4712 # Global variables:
4713-ofile=libtool
4714+ofile=${host_alias}-libtool
4715 can_build_shared=yes
4716
4717 # All known linkers require a `.a' archive for static linking (except MSVC,
4718@@ -7705,8 +8201,6 @@ fi 4661@@ -7705,8 +8201,6 @@ fi
4719 lt_prog_compiler_pic= 4662 lt_prog_compiler_pic=
4720 lt_prog_compiler_static= 4663 lt_prog_compiler_static=
@@ -6638,25 +6581,6 @@ index 5703bba4462..e1ac86ec797 100755
6638 cat > conftest.c << _LT_EOF 6581 cat > conftest.c << _LT_EOF
6639 int main() { return 0;} 6582 int main() { return 0;}
6640 _LT_EOF 6583 _LT_EOF
6641@@ -7220,7 +7715,8 @@ fi
6642 LIBTOOL_DEPS="$ltmain"
6643
6644 # Always use our own libtool.
6645-LIBTOOL='$(SHELL) $(top_builddir)/libtool'
6646+LIBTOOL='$(SHELL) $(top_builddir)'
6647+LIBTOOL="$LIBTOOL/${host_alias}-libtool"
6648
6649
6650
6651@@ -7309,7 +7805,7 @@ aix3*)
6652 esac
6653
6654 # Global variables:
6655-ofile=libtool
6656+ofile=${host_alias}-libtool
6657 can_build_shared=yes
6658
6659 # All known linkers require a `.a' archive for static linking (except MSVC,
6660@@ -7607,8 +8103,6 @@ fi 6584@@ -7607,8 +8103,6 @@ fi
6661 lt_prog_compiler_pic= 6585 lt_prog_compiler_pic=
6662 lt_prog_compiler_static= 6586 lt_prog_compiler_static=
@@ -8597,25 +8521,6 @@ index 2aeb3317b65..5ef46d31558 100755
8597 8521
8598 8522
8599 # Set options 8523 # Set options
8600@@ -8077,7 +8582,8 @@ fi
8601 LIBTOOL_DEPS="$ltmain"
8602
8603 # Always use our own libtool.
8604-LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8605+LIBTOOL='$(SHELL) $(top_builddir)'
8606+LIBTOOL="$LIBTOOL/${host_alias}-libtool"
8607
8608
8609
8610@@ -8166,7 +8672,7 @@ aix3*)
8611 esac
8612
8613 # Global variables:
8614-ofile=libtool
8615+ofile=${host_alias}-libtool
8616 can_build_shared=yes
8617
8618 # All known linkers require a `.a' archive for static linking (except MSVC,
8619@@ -8464,8 +8970,6 @@ fi 8524@@ -8464,8 +8970,6 @@ fi
8620 lt_prog_compiler_pic= 8525 lt_prog_compiler_pic=
8621 lt_prog_compiler_static= 8526 lt_prog_compiler_static=
@@ -11220,25 +11125,6 @@ index 82bcf13a606..a7fb723a145 100755
11220 cat > conftest.c << _LT_EOF 11125 cat > conftest.c << _LT_EOF
11221 int main() { return 0;} 11126 int main() { return 0;}
11222 _LT_EOF 11127 _LT_EOF
11223@@ -8248,7 +8742,8 @@ fi
11224 LIBTOOL_DEPS="$ltmain"
11225
11226 # Always use our own libtool.
11227-LIBTOOL='$(SHELL) $(top_builddir)/libtool'
11228+LIBTOOL='$(SHELL) $(top_builddir)'
11229+LIBTOOL="$LIBTOOL/${host_alias}-libtool"
11230
11231
11232
11233@@ -8337,7 +8832,7 @@ aix3*)
11234 esac
11235
11236 # Global variables:
11237-ofile=libtool
11238+ofile=${host_alias}-libtool
11239 can_build_shared=yes
11240
11241 # All known linkers require a `.a' archive for static linking (except MSVC,
11242@@ -8635,8 +9130,6 @@ fi 11128@@ -8635,8 +9130,6 @@ fi
11243 lt_prog_compiler_pic= 11129 lt_prog_compiler_pic=
11244 lt_prog_compiler_static= 11130 lt_prog_compiler_static=
@@ -12422,16 +12308,6 @@ index 9a13f3b117a..5be47564443 100644
12422 12308
12423 12309
12424 # LT_PREREQ(VERSION) 12310 # LT_PREREQ(VERSION)
12425@@ -92,7 +94,8 @@ _LT_SET_OPTIONS([$0], [$1])
12426 LIBTOOL_DEPS="$ltmain"
12427
12428 # Always use our own libtool.
12429-LIBTOOL='$(SHELL) $(top_builddir)/libtool'
12430+LIBTOOL='$(SHELL) $(top_builddir)'
12431+LIBTOOL="$LIBTOOL/${host_alias}-libtool"
12432 AC_SUBST(LIBTOOL)dnl
12433
12434 _LT_SETUP
12435@@ -166,10 +169,13 @@ _LT_DECL([], [exeext], [0], [Executable file suffix (normally "")])dnl 12311@@ -166,10 +169,13 @@ _LT_DECL([], [exeext], [0], [Executable file suffix (normally "")])dnl
12436 dnl 12312 dnl
12437 m4_require([_LT_FILEUTILS_DEFAULTS])dnl 12313 m4_require([_LT_FILEUTILS_DEFAULTS])dnl
@@ -12446,15 +12322,6 @@ index 9a13f3b117a..5be47564443 100644
12446 12322
12447 _LT_CONFIG_LIBTOOL_INIT([ 12323 _LT_CONFIG_LIBTOOL_INIT([
12448 # See if we are running on zsh, and set the options which allow our 12324 # See if we are running on zsh, and set the options which allow our
12449@@ -199,7 +205,7 @@ aix3*)
12450 esac
12451
12452 # Global variables:
12453-ofile=libtool
12454+ofile=${host_alias}-libtool
12455 can_build_shared=yes
12456
12457 # All known linkers require a `.a' archive for static linking (except MSVC,
12458@@ -632,7 +638,7 @@ m4_ifset([AC_PACKAGE_NAME], [AC_PACKAGE_NAME ])config.lt[]dnl 12325@@ -632,7 +638,7 @@ m4_ifset([AC_PACKAGE_NAME], [AC_PACKAGE_NAME ])config.lt[]dnl
12459 m4_ifset([AC_PACKAGE_VERSION], [ AC_PACKAGE_VERSION]) 12326 m4_ifset([AC_PACKAGE_VERSION], [ AC_PACKAGE_VERSION])
12460 configured by $[0], generated by m4_PACKAGE_STRING. 12327 configured by $[0], generated by m4_PACKAGE_STRING.
@@ -20267,25 +20134,6 @@ index 3513e408ce1..133948631e9 100755
20267 cat > conftest.c << _LT_EOF 20134 cat > conftest.c << _LT_EOF
20268 int main() { return 0;} 20135 int main() { return 0;}
20269 _LT_EOF 20136 _LT_EOF
20270@@ -7470,7 +7965,8 @@ fi
20271 LIBTOOL_DEPS="$ltmain"
20272
20273 # Always use our own libtool.
20274-LIBTOOL='$(SHELL) $(top_builddir)/libtool'
20275+LIBTOOL='$(SHELL) $(top_builddir)'
20276+LIBTOOL="$LIBTOOL/${host_alias}-libtool"
20277
20278
20279
20280@@ -7559,7 +8055,7 @@ aix3*)
20281 esac
20282
20283 # Global variables:
20284-ofile=libtool
20285+ofile=${host_alias}-libtool
20286 can_build_shared=yes
20287
20288 # All known linkers require a `.a' archive for static linking (except MSVC,
20289@@ -7857,8 +8353,6 @@ fi 20137@@ -7857,8 +8353,6 @@ fi
20290 lt_prog_compiler_pic= 20138 lt_prog_compiler_pic=
20291 lt_prog_compiler_static= 20139 lt_prog_compiler_static=
@@ -22209,25 +22057,6 @@ index 695819cd54b..14b5f28013a 100755
22209 cat > conftest.c << _LT_EOF 22057 cat > conftest.c << _LT_EOF
22210 int main() { return 0;} 22058 int main() { return 0;}
22211 _LT_EOF 22059 _LT_EOF
22212@@ -7300,7 +7795,8 @@ fi
22213 LIBTOOL_DEPS="$ltmain"
22214
22215 # Always use our own libtool.
22216-LIBTOOL='$(SHELL) $(top_builddir)/libtool'
22217+LIBTOOL='$(SHELL) $(top_builddir)'
22218+LIBTOOL="$LIBTOOL/${host_alias}-libtool"
22219
22220
22221
22222@@ -7389,7 +7885,7 @@ aix3*)
22223 esac
22224
22225 # Global variables:
22226-ofile=libtool
22227+ofile=${host_alias}-libtool
22228 can_build_shared=yes
22229
22230 # All known linkers require a `.a' archive for static linking (except MSVC,
22231@@ -7687,8 +8183,6 @@ fi 22060@@ -7687,8 +8183,6 @@ fi
22232 lt_prog_compiler_pic= 22061 lt_prog_compiler_pic=
22233 lt_prog_compiler_static= 22062 lt_prog_compiler_static=