diff options
author | Ross Burton <ross@burtonini.com> | 2021-12-10 14:22:33 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-12-12 18:10:22 +0000 |
commit | ebf34d5b252cc9bec3ba97039807e2fa03dcfbe2 (patch) | |
tree | 5ee9c87516fbddbf94b8259eddeda6d8161daff3 /meta/recipes-devtools/libtool/libtool-native_2.4.6.bb | |
parent | 14cb87f9ae89a7113fd8d660925d2d3ede470be3 (diff) | |
download | poky-ebf34d5b252cc9bec3ba97039807e2fa03dcfbe2.tar.gz |
libtool: don't prefix the installed binary
Typically libtool installs the binary to 'libtool' in the source tree,
but we've got patches to rename this to ${host_sys}-libtool. As this
isn't standard any upstream that don't respect the LIBTOOL variable need
to be told explicitly where libtool is, which is a long-term maintenance
burden for us on top of the initial libtool patches.
The reasoning for this renaming appears to stem from the design to be
sure that we're using our new/patched libtool and not the host's binary.
However, now that we have HOSTTOOLS, there's no way to run the host
libtool so this argument is moot.
This patch removes the libtool renaming, follow-up patches remove the
required modifications from the rest of the recipes.
[RP: Remove commented patch lines]
(From OE-Core rev: 4b308773eca7570ce5007e8f953b56252c17fdb1)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/libtool/libtool-native_2.4.6.bb')
-rw-r--r-- | meta/recipes-devtools/libtool/libtool-native_2.4.6.bb | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/meta/recipes-devtools/libtool/libtool-native_2.4.6.bb b/meta/recipes-devtools/libtool/libtool-native_2.4.6.bb index 3b20ce3e69..19024f7830 100644 --- a/meta/recipes-devtools/libtool/libtool-native_2.4.6.bb +++ b/meta/recipes-devtools/libtool/libtool-native_2.4.6.bb | |||
@@ -2,8 +2,6 @@ require libtool-${PV}.inc | |||
2 | 2 | ||
3 | DEPENDS = "" | 3 | DEPENDS = "" |
4 | 4 | ||
5 | SRC_URI += "file://prefix.patch" | ||
6 | |||
7 | inherit native | 5 | inherit native |
8 | 6 | ||
9 | EXTRA_OECONF = " --with-libtool-sysroot=${STAGING_DIR_NATIVE}" | 7 | EXTRA_OECONF = " --with-libtool-sysroot=${STAGING_DIR_NATIVE}" |
@@ -18,5 +16,5 @@ do_configure:prepend () { | |||
18 | do_install () { | 16 | do_install () { |
19 | autotools_do_install | 17 | autotools_do_install |
20 | install -d ${D}${bindir}/ | 18 | install -d ${D}${bindir}/ |
21 | install -m 0755 ${HOST_SYS}-libtool ${D}${bindir}/${HOST_SYS}-libtool | 19 | install -m 0755 libtool ${D}${bindir}/libtool |
22 | } | 20 | } |