From: Peter Kjellerstedt Date: Thu, 12 May 2016 08:38:01 +0000 (+0200) Subject: gcc-target.inc: Use SYSROOT_DIRS_BLACKLIST to exclude dirs from sysroot X-Git-Tag: uninative-1.0~89 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=3eb358d97f84e3d909986b7168e7384ae8db4126;p=openembedded-core.git gcc-target.inc: Use SYSROOT_DIRS_BLACKLIST to exclude dirs from sysroot Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-devtools/gcc/gcc-target.inc b/meta/recipes-devtools/gcc/gcc-target.inc index b8dabe5745..a960ed49a9 100644 --- a/meta/recipes-devtools/gcc/gcc-target.inc +++ b/meta/recipes-devtools/gcc/gcc-target.inc @@ -205,6 +205,4 @@ do_install_append () { # and builds track file dependencies (e.g. perl and its makedepends code). # For determinism we don't install this ever and rely on the copy from gcc-cross. # [YOCTO #7287] -sysroot_stage_dirs_append () { - rm -rf $to${libdir}/gcc -} +SYSROOT_DIRS_BLACKLIST += "${libdir}/gcc"