]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
libtool: Drop obsolete configure/compile prepends
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 3 Jun 2024 13:35:02 +0000 (14:35 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 4 Jun 2024 11:04:36 +0000 (12:04 +0100)
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.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/libtool/libtool-2.5.0.inc
meta/recipes-devtools/libtool/libtool-cross_2.5.0.bb
meta/recipes-devtools/libtool/libtool-native_2.5.0.bb
meta/recipes-devtools/libtool/nativesdk-libtool_2.5.0.bb

index a609de6369b7c461201e891637befad2b0d055e1..e0c9aae387a18e2e47b0845a1fa4c763b28a78a1 100644 (file)
@@ -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"
 
index 93f1dd7825d4fcefd27e5f626901d889bb35311f..18849cb8ef66c06579dae42815e8447cf37918f5 100644 (file)
@@ -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
index 92f4b4630329820ff20c25a3f6201c4de12096f5..be96b52dd66fa9026c00d2d7216ee6964bb5941a 100644 (file)
@@ -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}/
index 86c55ded7b60be0c57cd04baaacbac732cc19655..ddb60e717cab98f8e2a8dbe124e4d9d93d2160c3 100644 (file)
@@ -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}/