diff options
author | Roy Li <rongqing.li@windriver.com> | 2014-10-22 16:35:43 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-11-04 10:27:08 +0000 |
commit | bfd2afab834767e7aa7a0d20deea4b65e0eb3e00 (patch) | |
tree | 820a03506be0e0cf3904397c759f8d8115b96d7c /meta | |
parent | a64e37ac0e3eeb5af9c20273e9ff4cc25e873a4c (diff) | |
download | poky-bfd2afab834767e7aa7a0d20deea4b65e0eb3e00.tar.gz |
python3: do not replace ccache in the middle of a path
Python recipe did a sed s/ccache/$(CCACHE) on the Makefile, which
replaces all "ccache" including ones that consist of a full path.
This leads to build error when building in a project path with
"ccache" in its name. Fix it by only replacing "ccache " with
"$(CCACHE) ".
Same fix on python 2.xx is:
1181112cf65bc[python: do not replace ccache in the ]
(From OE-Core rev: 9f2398a0ff42389052155d971f136a37c5dc80da)
Signed-off-by: Roy Li <rongqing.li@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-devtools/python/python3_3.3.3.bb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-devtools/python/python3_3.3.3.bb b/meta/recipes-devtools/python/python3_3.3.3.bb index a1cb12078f..4497e02586 100644 --- a/meta/recipes-devtools/python/python3_3.3.3.bb +++ b/meta/recipes-devtools/python/python3_3.3.3.bb | |||
@@ -84,7 +84,7 @@ do_compile() { | |||
84 | cd - | 84 | cd - |
85 | 85 | ||
86 | # remove hardcoded ccache, see http://bugs.openembedded.net/show_bug.cgi?id=4144 | 86 | # remove hardcoded ccache, see http://bugs.openembedded.net/show_bug.cgi?id=4144 |
87 | sed -i -e s,ccache,'$(CCACHE)', Makefile | 87 | sed -i -e s,ccache\ ,'$(CCACHE) ', Makefile |
88 | 88 | ||
89 | # remove any bogus LD_LIBRARY_PATH | 89 | # remove any bogus LD_LIBRARY_PATH |
90 | sed -i -e s,RUNSHARED=.*,RUNSHARED=, Makefile | 90 | sed -i -e s,RUNSHARED=.*,RUNSHARED=, Makefile |