summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/libtool/nativesdk-libtool_2.4.6.bb
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2015-02-16 16:23:39 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-02-17 13:43:38 +0000
commit69c5e0992d811d4df6653382d4d8714829ea4309 (patch)
treee8a5e6cba4d19fe0dc0ac7f723045b160a760b0d /meta/recipes-devtools/libtool/nativesdk-libtool_2.4.6.bb
parentad8250868f9420d779dc5c4233ffb87e329e4565 (diff)
downloadpoky-69c5e0992d811d4df6653382d4d8714829ea4309.tar.gz
libtool: 2.4.5 -> 2.4.6
Drop patch merged upstream. (From OE-Core rev: cd03ef79b50ed42b9d407ee45fc3e3321385281c) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/libtool/nativesdk-libtool_2.4.6.bb')
-rw-r--r--meta/recipes-devtools/libtool/nativesdk-libtool_2.4.6.bb31
1 files changed, 31 insertions, 0 deletions
diff --git a/meta/recipes-devtools/libtool/nativesdk-libtool_2.4.6.bb b/meta/recipes-devtools/libtool/nativesdk-libtool_2.4.6.bb
new file mode 100644
index 0000000000..508eade326
--- /dev/null
+++ b/meta/recipes-devtools/libtool/nativesdk-libtool_2.4.6.bb
@@ -0,0 +1,31 @@
1require libtool-${PV}.inc
2
3FILESEXTRAPATHS =. "${FILE_DIRNAME}/libtool:"
4
5SRC_URI += "file://prefix.patch"
6SRC_URI += "file://fixinstall.patch"
7
8inherit nativesdk
9
10S = "${WORKDIR}/libtool-${PV}"
11FILES_${PN} += "${datadir}/libtool/*"
12
13do_configure_prepend () {
14 # Remove any existing libtool m4 since old stale versions would break
15 # any upgrade
16 rm -f ${STAGING_DATADIR}/aclocal/libtool.m4
17 rm -f ${STAGING_DATADIR}/aclocal/lt*.m4
18}
19
20do_install () {
21 autotools_do_install
22 install -d ${D}${bindir}/
23 install -m 0755 ${HOST_SYS}-libtool ${D}${bindir}/
24}
25
26SYSROOT_PREPROCESS_FUNCS += "libtoolnativesdk_sysroot_preprocess"
27
28libtoolnativesdk_sysroot_preprocess () {
29 install -d ${SYSROOT_DESTDIR}${bindir_crossscripts}/
30 install -m 755 ${D}${bindir}/${HOST_SYS}-libtool ${SYSROOT_DESTDIR}${bindir_crossscripts}/${HOST_SYS}-libtool
31}