mirror of
https://git.yoctoproject.org/poky
synced 2026-04-22 06:32:12 +02:00
Use the same sed command to sanitize libtool script for target recipe and nativesdk one. Otherwise fails with buildpaths QA error: ERROR: nativesdk-libtool-2.5.0-r0 do_package_qa: QA Issue: File /usr/local/oe-sdk-hardcoded-buildpath/sysroots/x86_64-pokysdk-linux/usr/bin/libtool in package nativesdk-libtool contains reference to TMPDIR [buildpaths] (From OE-Core rev: f08df9adf290fb6cbebff24df6bbbbe8e5ce95e0) Signed-off-by: Denys Dmytriyenko <denys@konsulko.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
25 lines
590 B
BlitzBasic
25 lines
590 B
BlitzBasic
require libtool-${PV}.inc
|
|
require remove-buildpaths.inc
|
|
|
|
FILESEXTRAPATHS =. "${FILE_DIRNAME}/libtool:"
|
|
|
|
SRC_URI += "file://fixinstall.patch"
|
|
|
|
inherit nativesdk
|
|
|
|
S = "${WORKDIR}/libtool-${PV}"
|
|
FILES:${PN} += "${datadir}/libtool/*"
|
|
|
|
do_install () {
|
|
autotools_do_install
|
|
install -d ${D}${bindir}/
|
|
install -m 0755 libtool ${D}${bindir}/
|
|
}
|
|
|
|
SYSROOT_PREPROCESS_FUNCS += "libtoolnativesdk_sysroot_preprocess"
|
|
|
|
libtoolnativesdk_sysroot_preprocess () {
|
|
install -d ${SYSROOT_DESTDIR}${bindir_crossscripts}/
|
|
install -m 755 ${D}${bindir}/libtool ${SYSROOT_DESTDIR}${bindir_crossscripts}/libtool
|
|
}
|