summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/libtool
diff options
context:
space:
mode:
authorPeter Kjellerstedt <peter.kjellerstedt@axis.com>2016-05-12 10:37:50 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-05-13 13:41:27 +0100
commitdad93163a6662bd81caa4c45bcd4c7f4cdace6fc (patch)
tree27d2a86680c0fa1baf7aea1c6765f99460fcdc9b /meta/recipes-devtools/libtool
parent97f6ed32829fdb37f180b011ef1d3c1481745f35 (diff)
downloadpoky-dad93163a6662bd81caa4c45bcd4c7f4cdace6fc.tar.gz
libtool-cross: Use SYSROOT_DIRS to add dirs to stage in sysroot
(From OE-Core rev: 8f0c872a496fe70ac02cd745aef36d2f36cf0d49) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/libtool')
-rw-r--r--meta/recipes-devtools/libtool/libtool-cross_2.4.6.bb7
1 files changed, 1 insertions, 6 deletions
diff --git a/meta/recipes-devtools/libtool/libtool-cross_2.4.6.bb b/meta/recipes-devtools/libtool/libtool-cross_2.4.6.bb
index 0204d347ba..b268310468 100644
--- a/meta/recipes-devtools/libtool/libtool-cross_2.4.6.bb
+++ b/meta/recipes-devtools/libtool/libtool-cross_2.4.6.bb
@@ -35,11 +35,6 @@ do_install () {
35 install -c -m 0644 ${S}/m4/*.m4 ${D}${target_datadir}/aclocal/ 35 install -c -m 0644 ${S}/m4/*.m4 ${D}${target_datadir}/aclocal/
36} 36}
37 37
38SYSROOT_PREPROCESS_FUNCS += "libtoolcross_sysroot_preprocess" 38SYSROOT_DIRS += "${bindir_crossscripts} ${target_datadir}"
39
40libtoolcross_sysroot_preprocess () {
41 sysroot_stage_dir ${D}${bindir_crossscripts} ${SYSROOT_DESTDIR}${bindir_crossscripts}
42 sysroot_stage_dir ${D}${target_datadir} ${SYSROOT_DESTDIR}${target_datadir}
43}
44 39
45SSTATE_SCAN_FILES += "libtoolize *-libtool" 40SSTATE_SCAN_FILES += "libtoolize *-libtool"