mirror of
https://git.yoctoproject.org/poky
synced 2026-03-16 20:29:41 +01:00
libtool: Move common version specific data to a common include file
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Saul Wold
parent
4a62f3fc5f
commit
66988ee0a2
11
meta/recipes-devtools/libtool/libtool-2.4.inc
Normal file
11
meta/recipes-devtools/libtool/libtool-2.4.inc
Normal file
@@ -0,0 +1,11 @@
|
||||
require libtool.inc
|
||||
DEPENDS = "libtool-native"
|
||||
|
||||
PACKAGES =+ "libltdl libltdl-dev libltdl-dbg"
|
||||
FILES_${PN} += "${datadir}/aclocal*"
|
||||
FILES_libltdl = "${libdir}/libltdl.so.*"
|
||||
FILES_libltdl-dev = "${libdir}/libltdl.* ${includedir}/ltdl.h"
|
||||
FILES_libltdl-dbg = "${libdir}/.debug/"
|
||||
|
||||
SRC_URI[md5sum] = "b32b04148ecdd7344abc6fe8bd1bb021"
|
||||
SRC_URI[sha256sum] = "13df57ab63a94e196c5d6e95d64e53262834fe780d5e82c28f177f9f71ddf62e"
|
||||
@@ -1,12 +1,10 @@
|
||||
require libtool_${PV}.bb
|
||||
require libtool-${PV}.inc
|
||||
|
||||
PR = "r1"
|
||||
PACKAGES = ""
|
||||
SRC_URI_append = " file://cross_compile.patch \
|
||||
file://prefix.patch "
|
||||
|
||||
DEPENDS += "libtool-native"
|
||||
|
||||
do_configure_prepend () {
|
||||
# Remove any existing libtool m4 since old stale versions would break
|
||||
# any upgrade
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
require libtool_${PV}.bb
|
||||
require libtool-${PV}.inc
|
||||
|
||||
DEPENDS = ""
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
require libtool_${PV}.bb
|
||||
require libtool-${PV}.inc
|
||||
|
||||
PR = "r1"
|
||||
SRC_URI_append = " file://cross_compile.patch \
|
||||
|
||||
@@ -1,26 +1,15 @@
|
||||
require libtool.inc
|
||||
DEPENDS = "libtool-native"
|
||||
require libtool-${PV}.inc
|
||||
|
||||
PR = "r1"
|
||||
|
||||
PACKAGES =+ "libltdl libltdl-dev libltdl-dbg"
|
||||
FILES_${PN} += "${datadir}/aclocal*"
|
||||
FILES_libltdl = "${libdir}/libltdl.so.*"
|
||||
FILES_libltdl-dev = "${libdir}/libltdl.* ${includedir}/ltdl.h ${includedir}/libltdl/* ${datadir}/aclocal/ltdl.m4 ${datadir}/libtool/libltdl/*"
|
||||
FILES_libltdl-dbg = "${libdir}/.debug/"
|
||||
|
||||
#
|
||||
# We want the results of libtool-cross preserved - don't stage anything ourselves.
|
||||
#
|
||||
SYSROOT_PREPROCESS_FUNCS += "libtool_sysroot_preprocess"
|
||||
|
||||
libtool_sysroot_preprocess () {
|
||||
if [ "${PN}" == "libtool" ]; then
|
||||
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
|
||||
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/*
|
||||
}
|
||||
|
||||
SRC_URI[md5sum] = "b32b04148ecdd7344abc6fe8bd1bb021"
|
||||
SRC_URI[sha256sum] = "13df57ab63a94e196c5d6e95d64e53262834fe780d5e82c28f177f9f71ddf62e"
|
||||
|
||||
Reference in New Issue
Block a user