]> code.ossystems Code Review - openembedded-core.git/commitdiff
gcc-target.inc: Use SYSROOT_DIRS_BLACKLIST to exclude dirs from sysroot
authorPeter Kjellerstedt <peter.kjellerstedt@axis.com>
Thu, 12 May 2016 08:38:01 +0000 (10:38 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 13 May 2016 12:40:50 +0000 (13:40 +0100)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/gcc/gcc-target.inc

index b8dabe57459704f298edffc1280d2d98fb7b5cc6..a960ed49a944a5e5fd7bcf7ed99a31b4e552b1b6 100644 (file)
@@ -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"