summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/libtool/libtool_2.4.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/libtool/libtool_2.4.bb')
-rw-r--r--meta/recipes-devtools/libtool/libtool_2.4.bb19
1 files changed, 4 insertions, 15 deletions
diff --git a/meta/recipes-devtools/libtool/libtool_2.4.bb b/meta/recipes-devtools/libtool/libtool_2.4.bb
index 1e5ce92130..ee24444a81 100644
--- a/meta/recipes-devtools/libtool/libtool_2.4.bb
+++ b/meta/recipes-devtools/libtool/libtool_2.4.bb
@@ -1,26 +1,15 @@
1require libtool.inc 1require libtool-${PV}.inc
2DEPENDS = "libtool-native"
3 2
4PR = "r1" 3PR = "r1"
5 4
6PACKAGES =+ "libltdl libltdl-dev libltdl-dbg"
7FILES_${PN} += "${datadir}/aclocal*"
8FILES_libltdl = "${libdir}/libltdl.so.*"
9FILES_libltdl-dev = "${libdir}/libltdl.* ${includedir}/ltdl.h ${includedir}/libltdl/* ${datadir}/aclocal/ltdl.m4 ${datadir}/libtool/libltdl/*"
10FILES_libltdl-dbg = "${libdir}/.debug/"
11
12# 5#
13# We want the results of libtool-cross preserved - don't stage anything ourselves. 6# We want the results of libtool-cross preserved - don't stage anything ourselves.
14# 7#
15SYSROOT_PREPROCESS_FUNCS += "libtool_sysroot_preprocess" 8SYSROOT_PREPROCESS_FUNCS += "libtool_sysroot_preprocess"
16 9
17libtool_sysroot_preprocess () { 10libtool_sysroot_preprocess () {
18 if [ "${PN}" == "libtool" ]; then 11 rm -rf ${SYSROOT_DESTDIR}${STAGING_DIR_TARGET}${bindir}/*
19 rm -rf ${SYSROOT_DESTDIR}${STAGING_DIR_TARGET}${bindir}/* 12 rm -rf ${SYSROOT_DESTDIR}${STAGING_DIR_TARGET}${datadir}/aclocal/*
20 rm -rf ${SYSROOT_DESTDIR}${STAGING_DIR_TARGET}${datadir}/aclocal/* 13 rm -rf ${SYSROOT_DESTDIR}${STAGING_DIR_TARGET}${datadir}/libtool/config/*
21 rm -rf ${SYSROOT_DESTDIR}${STAGING_DIR_TARGET}${datadir}/libtool/config/*
22 fi
23} 14}
24 15
25SRC_URI[md5sum] = "b32b04148ecdd7344abc6fe8bd1bb021"
26SRC_URI[sha256sum] = "13df57ab63a94e196c5d6e95d64e53262834fe780d5e82c28f177f9f71ddf62e"