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 17:45:51 +0000 (17:45 +0000)
commitc33a5d2cf9fcea56ea4c016abacf5074a490f1f7
tree974f5bd0181416c9b9ed6db6b4efb5df54c9409b
parentc78fca05a2de69273fb45b10f9a453ec194d3d7f
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) ".

(From OE-Core rev: 1181112cf65bc0186807fc59399c5dddcb9f9449)

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