]> code.ossystems Code Review - openembedded-core.git/commit
toolchain-scripts: remove CCACHE_PATH from environment script
authorJoshua Lock <joshua.g.lock@intel.com>
Tue, 24 Jan 2017 11:41:39 +0000 (11:41 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 26 Jan 2017 10:41:10 +0000 (10:41 +0000)
commite47fb403c2cb472d2666ed3ba4b10933467c8c7b
tree1a78daa5da4250a95e8e38d2c8e5456607488fe3
parente8bc8dc1b2a54a00792c61e134f48a6c06ad861e
toolchain-scripts: remove CCACHE_PATH from environment script

CCACHE_PATH was added to the toolchain-scripts in commit
1d31ddb856a80ba9da1a64ed5d701dc0f7351ef7 without a detailed
explanation as to why. This commit removes that environment
variable as it's causing failures since the introduction of
host_gcc_version() to oe.utils in
d36f41e5658bbbb6080ee833027879c119edf3e0, as used by
uninative to determine NATIVELSBSTRING.

This causes errors when the host has ccache available in in PATH
- host_gcc_version() fails because ccache has been told to only
look for the compiler in CCACHE_PATH and can't find gcc in order
to check its version. Toolchain compilers aren't detected due to
the binaries being prefixed with the triplet of the target.

Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/toolchain-scripts.bbclass