From dad93163a6662bd81caa4c45bcd4c7f4cdace6fc Mon Sep 17 00:00:00 2001 From: Peter Kjellerstedt Date: Thu, 12 May 2016 10:37:50 +0200 Subject: [PATCH] libtool-cross: Use SYSROOT_DIRS to add dirs to stage in sysroot (From OE-Core rev: 8f0c872a496fe70ac02cd745aef36d2f36cf0d49) Signed-off-by: Richard Purdie --- meta/recipes-devtools/libtool/libtool-cross_2.4.6.bb | 7 +------ 1 file changed, 1 insertion(+), 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"