aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/gcc/gcc-package-target.inc
diff options
context:
space:
mode:
authorMark Hatle <mark.hatle@windriver.com>2011-06-24 13:26:11 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-06-28 13:46:57 +0100
commitdb99a65b3e93dfacc27ea821c788f15b5de3a497 (patch)
tree7c0ff600b56645477311b958a8cc13c8bb8b7062 /meta/recipes-devtools/gcc/gcc-package-target.inc
parent2e3727b05ae58aaf1eed88967c13cae085e7a702 (diff)
downloadopenembedded-core-contrib-db99a65b3e93dfacc27ea821c788f15b5de3a497.tar.gz
gcc: Fix file ownership
Most of the files that end up in the gcc include dir and other misc files scattered throughout the install get the build users uid and gid. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Diffstat (limited to 'meta/recipes-devtools/gcc/gcc-package-target.inc')
-rw-r--r--meta/recipes-devtools/gcc/gcc-package-target.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-package-target.inc b/meta/recipes-devtools/gcc/gcc-package-target.inc
index afbcf0d2af..43e2bd5dba 100644
--- a/meta/recipes-devtools/gcc/gcc-package-target.inc
+++ b/meta/recipes-devtools/gcc/gcc-package-target.inc
@@ -101,4 +101,6 @@ do_install () {
ln -sf g++ c++
ln -sf gcc cc
ln -sf ${bindir}/${TARGET_PREFIX}cpp ${D}${bindir}/cpp
+
+ chown -R root:root ${D}
}