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:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user