[oe-commits] Andre McCurdy : gcc-source.inc: set PATH for gnu-configize, not for cd
git at git.openembedded.org
git at git.openembedded.org
Fri May 29 09:17:43 UTC 2015
Module: openembedded-core.git
Branch: master
Commit: 4321fce801daea50baaaae9ed6a141c6e7712834
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=4321fce801daea50baaaae9ed6a141c6e7712834
Author: Andre McCurdy <armccurdy at gmail.com>
Date: Tue May 26 16:04:31 2015 -0700
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.
Signed-off-by: Andre McCurdy <armccurdy at gmail.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
meta/recipes-devtools/gcc/gcc-source.inc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/recipes-devtools/gcc/gcc-source.inc b/meta/recipes-devtools/gcc/gcc-source.inc
index a4b27c8..529b8e0 100644
--- a/meta/recipes-devtools/gcc/gcc-source.inc
+++ b/meta/recipes-devtools/gcc/gcc-source.inc
@@ -24,7 +24,7 @@ PACKAGES = ""
python do_preconfigure () {
import subprocess
- cmd = d.expand('PATH=${PATH} cd ${S} && gnu-configize')
+ cmd = d.expand('cd ${S} && PATH=${PATH} gnu-configize')
subprocess.check_output(cmd, stderr=subprocess.STDOUT, shell=True)
# See 0044-gengtypes.patch, we need to regenerate this file
bb.utils.remove(d.expand("${S}/gcc/gengtype-lex.c"))
More information about the Openembedded-commits
mailing list