From 3eb358d97f84e3d909986b7168e7384ae8db4126 Mon Sep 17 00:00:00 2001 From: Peter Kjellerstedt Date: Thu, 12 May 2016 10:38:01 +0200 Subject: gcc-target.inc: Use SYSROOT_DIRS_BLACKLIST to exclude dirs from sysroot Signed-off-by: Richard Purdie --- meta/recipes-devtools/gcc/gcc-target.inc | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'meta/recipes-devtools/gcc') 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" -- cgit 1.2.3-korg