]> code.ossystems Code Review - openembedded-core.git/commit
python: do not replace ccache in the middle of a path
authorYue Tao <Yue.Tao@windriver.com>
Thu, 28 Nov 2013 08:34:48 +0000 (16:34 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 3 Dec 2013 12:51:03 +0000 (12:51 +0000)
commit1181112cf65bc0186807fc59399c5dddcb9f9449
tree6f95a6734d9f90fea676f5d0f8662a2ddf18d102
parentf57c83fc33583c140f668946f3f3e79b960aa9ee
python: 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) ".

Signed-off-by: Lei Liu <lei.liu2@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/python/python_2.7.3.bb