mirror of
https://git.yoctoproject.org/poky
synced 2026-07-15 15:37:03 +00:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
14cb87f9ae
commit
ebf34d5b25
@@ -2,8 +2,6 @@ require libtool-${PV}.inc
|
||||
|
||||
DEPENDS = ""
|
||||
|
||||
SRC_URI += "file://prefix.patch"
|
||||
|
||||
inherit native
|
||||
|
||||
EXTRA_OECONF = " --with-libtool-sysroot=${STAGING_DIR_NATIVE}"
|
||||
@@ -18,5 +16,5 @@ do_configure:prepend () {
|
||||
do_install () {
|
||||
autotools_do_install
|
||||
install -d ${D}${bindir}/
|
||||
install -m 0755 ${HOST_SYS}-libtool ${D}${bindir}/${HOST_SYS}-libtool
|
||||
install -m 0755 libtool ${D}${bindir}/libtool
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user