diff options
author | Andre McCurdy <armccurdy@gmail.com> | 2015-05-26 16:04:31 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-05-29 10:17:15 +0100 |
commit | 7a4c52c7ae801ba023474c013415d6492a6db2e7 (patch) | |
tree | dddcb20cde61a49b3e502844868fa000d3354c99 /meta/recipes-devtools/gcc | |
parent | 5a2d9852868986b6cd5af49ab24d54bf90a74da3 (diff) | |
download | poky-7a4c52c7ae801ba023474c013415d6492a6db2e7.tar.gz |
gcc-source.inc: set PATH for gnu-configize, not for cd
Setting OE's PATH for the 'cd' command has no real effect.
In the normal case it has no effect for the gnu-configize command
either (since OE's PATH is already set in the context which runs
do_preconfigure) but it may be useful when manually re-running a
failed gnu-configize commandline copied from an error log, etc.
(From OE-Core rev: 4321fce801daea50baaaae9ed6a141c6e7712834)
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/gcc')
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-source.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-source.inc b/meta/recipes-devtools/gcc/gcc-source.inc index a4b27c8fd3..529b8e0e8c 100644 --- a/meta/recipes-devtools/gcc/gcc-source.inc +++ b/meta/recipes-devtools/gcc/gcc-source.inc | |||
@@ -24,7 +24,7 @@ PACKAGES = "" | |||
24 | 24 | ||
25 | python do_preconfigure () { | 25 | python do_preconfigure () { |
26 | import subprocess | 26 | import subprocess |
27 | cmd = d.expand('PATH=${PATH} cd ${S} && gnu-configize') | 27 | cmd = d.expand('cd ${S} && PATH=${PATH} gnu-configize') |
28 | subprocess.check_output(cmd, stderr=subprocess.STDOUT, shell=True) | 28 | subprocess.check_output(cmd, stderr=subprocess.STDOUT, shell=True) |
29 | # See 0044-gengtypes.patch, we need to regenerate this file | 29 | # See 0044-gengtypes.patch, we need to regenerate this file |
30 | bb.utils.remove(d.expand("${S}/gcc/gengtype-lex.c")) | 30 | bb.utils.remove(d.expand("${S}/gcc/gengtype-lex.c")) |