mirror of
https://git.yoctoproject.org/git/poky
synced 2026-01-04 16:10:04 +00:00
Libtool made a release after many years. Update to it, allowing us to drop two backported patches. We also drop a performance optimistion patch since it is too invasive to maintain separately. (From OE-Core rev: b5d13cbdded0f71fd4b847066434d30e8a39c9ce) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
31 lines
761 B
BlitzBasic
31 lines
761 B
BlitzBasic
require libtool-${PV}.inc
|
|
|
|
FILESEXTRAPATHS =. "${FILE_DIRNAME}/libtool:"
|
|
|
|
SRC_URI += "file://fixinstall.patch"
|
|
|
|
inherit nativesdk
|
|
|
|
S = "${WORKDIR}/libtool-${PV}"
|
|
FILES:${PN} += "${datadir}/libtool/*"
|
|
|
|
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}/
|
|
}
|
|
|
|
SYSROOT_PREPROCESS_FUNCS += "libtoolnativesdk_sysroot_preprocess"
|
|
|
|
libtoolnativesdk_sysroot_preprocess () {
|
|
install -d ${SYSROOT_DESTDIR}${bindir_crossscripts}/
|
|
install -m 755 ${D}${bindir}/libtool ${SYSROOT_DESTDIR}${bindir_crossscripts}/libtool
|
|
}
|