summaryrefslogtreecommitdiff
path: root/meta/recipes-devtools
diff options
context:
space:
mode:
authorPeter Kjellerstedt <peter.kjellerstedt@axis.com>2016-05-12 10:38:01 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-05-13 13:40:50 +0100
commit3eb358d97f84e3d909986b7168e7384ae8db4126 (patch)
tree6dee32af6373dcb3c796f28a0d812a85a13f0edb /meta/recipes-devtools
parent6eeb65b5794f5c43d9d8124d23f3f59417a129a6 (diff)
downloadopenembedded-core-3eb358d97f84e3d909986b7168e7384ae8db4126.tar.gz
openembedded-core-3eb358d97f84e3d909986b7168e7384ae8db4126.tar.bz2
openembedded-core-3eb358d97f84e3d909986b7168e7384ae8db4126.zip
gcc-target.inc: Use SYSROOT_DIRS_BLACKLIST to exclude dirs from sysroot
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools')
-rw-r--r--meta/recipes-devtools/gcc/gcc-target.inc4
1 files changed, 1 insertions, 3 deletions
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"