1
0
mirror of https://git.yoctoproject.org/poky synced 2026-05-09 17:39:31 +00:00

libtool: Fix sysroot preprocess function

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
This commit is contained in:
Richard Purdie
2009-12-02 13:25:14 +00:00
parent 28fc110e6d
commit 1678395e60
+4 -4
View File
@@ -1,6 +1,6 @@
require libtool.inc
PR = "r17"
PR = "r18"
SRC_URI = "${GNU_MIRROR}/libtool/libtool-${PV}a.tar.gz \
file://dolt.m4"
@@ -22,8 +22,8 @@ SYSROOT_PREPROCESS_FUNCS += "libtool_sysroot_preprocess"
libtool_sysroot_preprocess () {
if [ "${PN}" == "libtool" ]; then
rm -rf ${SYSROOT_DESTDIR}/${bindir}/*
rm -rf ${SYSROOT_DESTDIR}/${datadir}/aclocal/*
rm -rf ${SYSROOT_DESTDIR}/${datadir}/libtool/config/*
rm -rf ${SYSROOT_DESTDIR}${STAGING_DIR_TARGET}${bindir}/*
rm -rf ${SYSROOT_DESTDIR}${STAGING_DIR_TARGET}${datadir}/aclocal/*
rm -rf ${SYSROOT_DESTDIR}${STAGING_DIR_TARGET}${datadir}/libtool/config/*
fi
}