diff options
author | Kai Kang <kai.kang@windriver.com> | 2020-05-15 16:52:50 +0800 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2020-05-15 07:35:04 -0700 |
commit | 6bb6384f70ddbeb2fc0d76ff737f77038dd0ec79 (patch) | |
tree | bce26dc62ae540860c820a922225baacb43b812d /classes/cmake-native.bbclass | |
parent | 8c495670aa4d3c8ae61c9bf41edea08e9f03bae4 (diff) | |
download | meta-clang-6bb6384f70ddbeb2fc0d76ff737f77038dd0ec79.tar.gz |
cmake-native.bbclass: remove reset of CCACHE
It reset variable CCACHE to disable ccache. But that doesn't effect that
CCACHE is set in an anonymous function from ccache.bbclass at last and
ccache is always not disabled with cmake.
Remove these useless piece of code.
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Diffstat (limited to 'classes/cmake-native.bbclass')
-rw-r--r-- | classes/cmake-native.bbclass | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/classes/cmake-native.bbclass b/classes/cmake-native.bbclass index 4773c32..116cdd1 100644 --- a/classes/cmake-native.bbclass +++ b/classes/cmake-native.bbclass | |||
@@ -1,6 +1,3 @@ | |||
1 | # We need to unset CCACHE otherwise cmake gets too confused | ||
2 | CCACHE = "" | ||
3 | |||
4 | # Native C/C++ compiler (without cpu arch/tune arguments) | 1 | # Native C/C++ compiler (without cpu arch/tune arguments) |
5 | OECMAKE_NATIVE_C_COMPILER ?= "`echo ${BUILD_CC} | sed 's/^\([^ ]*\).*/\1/'`" | 2 | OECMAKE_NATIVE_C_COMPILER ?= "`echo ${BUILD_CC} | sed 's/^\([^ ]*\).*/\1/'`" |
6 | OECMAKE_NATIVE_CXX_COMPILER ?= "`echo ${BUILD_CXX} | sed 's/^\([^ ]*\).*/\1/'`" | 3 | OECMAKE_NATIVE_CXX_COMPILER ?= "`echo ${BUILD_CXX} | sed 's/^\([^ ]*\).*/\1/'`" |