mirror of
https://git.yoctoproject.org/poky
synced 2026-04-17 09:32:12 +02:00
libtool auto detects the sysroot from gcc's parameters or configuration so we don't need to pass in this configuration separately to libtool. Whilst the option names do conflict with gcc/binutils, that is an issue for those projects to resolve, not us. Upstream libtool did reject the patch. We can drop this patch and simplify our code. (From OE-Core rev: 7c8553f81bccc3e8c2bb1116ee1e89f5f8af4c9e) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
21 lines
428 B
BlitzBasic
21 lines
428 B
BlitzBasic
require libtool-${PV}.inc
|
|
|
|
DEPENDS = ""
|
|
|
|
inherit native
|
|
|
|
EXTRA_OECONF = " --with-sysroot=${STAGING_DIR_NATIVE}"
|
|
|
|
do_configure:prepend () {
|
|
# Remove any existing libtool m4 since old stale versions would break
|
|
# any upgrade
|
|
rm -f ${STAGING_DATADIR}/aclocal/libtool.m4
|
|
rm -f ${STAGING_DATADIR}/aclocal/lt*.m4
|
|
}
|
|
|
|
do_install () {
|
|
autotools_do_install
|
|
install -d ${D}${bindir}/
|
|
install -m 0755 libtool ${D}${bindir}/libtool
|
|
}
|