summaryrefslogtreecommitdiff
path: root/meta
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:40:49 +0100
commit8f0c872a496fe70ac02cd745aef36d2f36cf0d49 (patch)
treee783792ff8dfe2cd0e21bf27b4dfbd123fc96cd3 /meta
parentf6f89427e81b228c19bded55a7d8f21b184ef68e (diff)
downloadopenembedded-core-8f0c872a496fe70ac02cd745aef36d2f36cf0d49.tar.gz
openembedded-core-8f0c872a496fe70ac02cd745aef36d2f36cf0d49.tar.bz2
openembedded-core-8f0c872a496fe70ac02cd745aef36d2f36cf0d49.zip
libtool-cross: Use SYSROOT_DIRS to add dirs to stage in sysroot
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-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 () {
install -c -m 0644 ${S}/m4/*.m4 ${D}${target_datadir}/aclocal/
}
-SYSROOT_PREPROCESS_FUNCS += "libtoolcross_sysroot_preprocess"
-
-libtoolcross_sysroot_preprocess () {
- sysroot_stage_dir ${D}${bindir_crossscripts} ${SYSROOT_DESTDIR}${bindir_crossscripts}
- sysroot_stage_dir ${D}${target_datadir} ${SYSROOT_DESTDIR}${target_datadir}
-}
+SYSROOT_DIRS += "${bindir_crossscripts} ${target_datadir}"
SSTATE_SCAN_FILES += "libtoolize *-libtool"