libtool: Only apply sysroot mangling to libtool itself (not native/cross/nativesdk)
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
This commit is contained in:
parent
35433abab3
commit
15b5395444
|
@ -1,6 +1,6 @@
|
|||
require libtool_${PV}.bb
|
||||
|
||||
PR = "r25"
|
||||
PR = "r26"
|
||||
PACKAGES = ""
|
||||
SRC_URI_append = " file://cross_compile.patch;patch=1 \
|
||||
file://prefix.patch;patch=1"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
require libtool_${PV}.bb
|
||||
|
||||
PR = "r19"
|
||||
PR = "r20"
|
||||
SRC_URI_append = " file://cross_compile.patch;patch=1 \
|
||||
file://prefix.patch;patch=1"
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
require libtool_${PV}.bb
|
||||
|
||||
PR = "r0"
|
||||
PR = "r1"
|
||||
SRC_URI_append = " file://cross_compile.patch;patch=1"
|
||||
|
||||
inherit nativesdk
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
require libtool.inc
|
||||
|
||||
PR = "r16"
|
||||
PR = "r17"
|
||||
|
||||
SRC_URI = "${GNU_MIRROR}/libtool/libtool-${PV}a.tar.gz \
|
||||
file://dolt.m4"
|
||||
|
@ -15,15 +15,15 @@ inherit autotools_stage
|
|||
|
||||
EXTRA_AUTORECONF = "--exclude=libtoolize"
|
||||
|
||||
|
||||
|
||||
#
|
||||
# We want the results of libtool-cross preserved - don't stage anything ourselves.
|
||||
#
|
||||
SYSROOT_PREPROCESS_FUNCS += "libtool_sysroot_preprocess"
|
||||
|
||||
libtool_sysroot_preprocess () {
|
||||
rm -rf ${SYSROOT_DESTDIR}/${bindir}/*
|
||||
rm -rf ${SYSROOT_DESTDIR}/${datadir}/aclocal/*
|
||||
rm -rf ${SYSROOT_DESTDIR}/${datadir}/libtool/config/*
|
||||
if [ "${PN}" == "libtool" ]; then
|
||||
rm -rf ${SYSROOT_DESTDIR}/${bindir}/*
|
||||
rm -rf ${SYSROOT_DESTDIR}/${datadir}/aclocal/*
|
||||
rm -rf ${SYSROOT_DESTDIR}/${datadir}/libtool/config/*
|
||||
fi
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue