mirror of
https://git.yoctoproject.org/git/poky
synced 2026-01-04 16:10:04 +00:00
Rebased patches to the newer source code and deleted resolve-sysroot.patch
since its already applied upstream
merged libtool-2.4.2.inc & libtool.inc files
replaced PR with ${INC_PR}.0
(From OE-Core rev: aa0cb889a4ef883235dc3f3e1d76ee4a556ae03a)
Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
28 lines
732 B
BlitzBasic
28 lines
732 B
BlitzBasic
require libtool-${PV}.inc
|
|
|
|
PR = "${INC_PR}.0"
|
|
SRC_URI += "file://prefix.patch"
|
|
SRC_URI += "file://fixinstall.patch"
|
|
|
|
inherit nativesdk
|
|
|
|
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}/
|
|
}
|
|
|
|
SYSROOT_PREPROCESS_FUNCS += "libtoolnativesdk_sysroot_preprocess"
|
|
|
|
libtoolnativesdk_sysroot_preprocess () {
|
|
install -d ${SYSROOT_DESTDIR}${bindir_crossscripts}/
|
|
install -m 755 ${D}${bindir}/${HOST_SYS}-libtool ${SYSROOT_DESTDIR}${bindir_crossscripts}/${HOST_SYS}-libtool
|
|
}
|