@@ -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}/
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 | 7 ------- meta/recipes-devtools/libtool/libtool-cross_2.5.0.bb | 7 ------- meta/recipes-devtools/libtool/libtool-native_2.5.0.bb | 7 ------- meta/recipes-devtools/libtool/nativesdk-libtool_2.5.0.bb | 7 ------- 4 files changed, 28 deletions(-)