mirror of
https://git.yoctoproject.org/poky
synced 2026-04-05 08:02:25 +02:00
libtool: Drop obsolete configure/compile prepends
The introduction of sstate and recipe specific sysroots made the configure prepends obsolete and unneeded. The compile prepend has been there for over a decade and is also likely obsolete. Remove the whole lot, we look into any issues that arise. (From OE-Core rev: d6a22998e47bcceee3fc3edc72eb2df2970dabfa) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -24,13 +24,6 @@ SRC_URI = "https://alpha.gnu.org/gnu/libtool/libtool-${PV}.tar.gz \
|
||||
|
||||
SRC_URI[sha256sum] = "d438c317455d85554ce2f998be48866fd40cfcbf834d60b3026f4fc0ed583d23"
|
||||
|
||||
do_compile:prepend () {
|
||||
# Sometimes this file doesn't get rebuilt, force the issue
|
||||
rm -f ${S}/build-aux/ltmain.sh
|
||||
make build-aux/ltmain.sh
|
||||
./config.status
|
||||
}
|
||||
|
||||
inherit autotools texinfo
|
||||
EXTRA_AUTORECONF = "--exclude=libtoolize"
|
||||
|
||||
|
||||
@@ -7,13 +7,6 @@ datadir = "${STAGING_DIR_TARGET}${target_datadir}"
|
||||
|
||||
inherit nopackages
|
||||
|
||||
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
|
||||
}
|
||||
|
||||
#
|
||||
# ccache may or may not be INHERITED, we remove references to it so the sstate
|
||||
# artefact works on a machine where its not present. libtool-cross isn't used
|
||||
|
||||
@@ -4,13 +4,6 @@ DEPENDS = ""
|
||||
|
||||
inherit 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}/
|
||||
|
||||
@@ -9,13 +9,6 @@ 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}/
|
||||
|
||||
Reference in New Issue
Block a user