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: lucaceresoli/bug-15201-perf-libtraceevent-missing~25921 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3eb358d97f84e3d909986b7168e7384ae8db4126;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.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 b8dabe57459..a960ed49a94 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"