diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-11-29 11:22:56 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-02-09 11:04:12 +0000 |
commit | ef00c0c0b5d1c2843d96177862605f27502f2349 (patch) | |
tree | abf29802c7f2de0526e890bfb8e3ad5e102bae35 /meta/recipes-devtools/gcc/gcc-common.inc | |
parent | 675d4b4c0e7f0d608340329e3003bbe43d819291 (diff) | |
download | poky-ef00c0c0b5d1c2843d96177862605f27502f2349.tar.gz |
base/gcc-common: Ensure umask setting is consistent for shared workdir
gcc has cross and target components with a shared workdir. The unpack umask
settings need to match for all of these. We need to use strings in each
case to ensure the sstate code matches them correctly.
This patch tweaks various things to ensure the change adding the unpack umask
change doesn't break the compiler builds.
(From OE-Core master rev: 67162438ee9c402b23c32853af9d313949eb6e4a)
(From OE-Core rev: 3e8776e3fc09ba11867457e0be6b4c3a4a01e2c6)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/gcc/gcc-common.inc')
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-common.inc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-common.inc b/meta/recipes-devtools/gcc/gcc-common.inc index 4f691a090c..a5daa01691 100644 --- a/meta/recipes-devtools/gcc/gcc-common.inc +++ b/meta/recipes-devtools/gcc/gcc-common.inc | |||
@@ -89,6 +89,7 @@ do_patch[stamp-base] = "${SS}" | |||
89 | SSCLEAN = "${TMPDIR}/stamps/work-shared/gcc-[0-9]*-*" | 89 | SSCLEAN = "${TMPDIR}/stamps/work-shared/gcc-[0-9]*-*" |
90 | do_fetch[stamp-base-clean] = "${SSCLEAN}" | 90 | do_fetch[stamp-base-clean] = "${SSCLEAN}" |
91 | do_unpack[stamp-base-clean] = "${SSCLEAN}" | 91 | do_unpack[stamp-base-clean] = "${SSCLEAN}" |
92 | do_unpack[umask] = "022" | ||
92 | do_patch[stamp-base-clean] = "${SSCLEAN}" | 93 | do_patch[stamp-base-clean] = "${SSCLEAN}" |
93 | 94 | ||
94 | # SW means Shared Work directory | 95 | # SW means Shared Work directory |