From 3f4b585e4792b0c2c3b717f732d2a599fc1fcfa3 Mon Sep 17 00:00:00 2001 From: Koen Kooi Date: Mon, 11 Oct 2010 15:05:49 +0200 Subject: [PATCH] libtool-sdk: add recipe for 2.4 Without this pkgconfig-sdk fails to build as part of meta-toolchain when using libtool 2.4 --- recipes/libtool/libtool-sdk_2.4.bb | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 recipes/libtool/libtool-sdk_2.4.bb diff --git a/recipes/libtool/libtool-sdk_2.4.bb b/recipes/libtool/libtool-sdk_2.4.bb new file mode 100644 index 0000000000..f1859ca69c --- /dev/null +++ b/recipes/libtool/libtool-sdk_2.4.bb @@ -0,0 +1,21 @@ +require libtool_${PV}.bb + +SRC_URI_append = " file://prefix.patch \ + file://cross.patch \ + " +inherit sdk + +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 ${HOST_SYS}-libtool ${D}${bindir}/ +} + +NATIVE_INSTALL_WORKS = "1" -- 2.39.5