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.

(From OE-Core rev: db99a65b3e93dfacc27ea821c788f15b5de3a497)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Mark Hatle authored and Richard Purdie committed 2011-06-28 13:55:40 +01:00
1 parent 0496564b64
commit 1d640c9436
5 files changed
+9

No files matched your search

@@ -37,6 +37,7 @@ do_install () {
cd ${B}/$d/
oe_runmake 'DESTDIR=${D}' install
done
chown -R root:root ${D}
}
INHIBIT_DEFAULT_DEPS = "1"
@@ -48,5 +48,7 @@ do_install () {
for t in ar as ld nm objcopy objdump ranlib strip g77 gcc cpp gfortran; do
ln -sf ${bindir}/${TARGET_PREFIX}$t $dest$t
done
chown -R root:root ${D}
}
@@ -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}
}
@@ -36,6 +36,8 @@ do_install () {
else
mv ${D}${libdir}/libgcc* ${D}${base_libdir} || true
fi
chown -R root:root ${D}
}
do_package_write_ipk[depends] += "virtual/libc:do_package"
+2
View File
@@ -36,6 +36,8 @@ do_install () {
else
mv ${D}${libdir}/libgcc* ${D}${base_libdir} || true
fi
chown -R root:root ${D}
}
do_package_write_ipk[depends] += "virtual/libc:do_package"