summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKai Kang <kai.kang@windriver.com>2020-05-15 16:52:50 +0800
committerKhem Raj <raj.khem@gmail.com>2020-05-15 07:35:04 -0700
commit6bb6384f70ddbeb2fc0d76ff737f77038dd0ec79 (patch)
treebce26dc62ae540860c820a922225baacb43b812d
parent8c495670aa4d3c8ae61c9bf41edea08e9f03bae4 (diff)
downloadmeta-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>
-rw-r--r--classes/cmake-native.bbclass3
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
2CCACHE = ""
3
4# Native C/C++ compiler (without cpu arch/tune arguments) 1# Native C/C++ compiler (without cpu arch/tune arguments)
5OECMAKE_NATIVE_C_COMPILER ?= "`echo ${BUILD_CC} | sed 's/^\([^ ]*\).*/\1/'`" 2OECMAKE_NATIVE_C_COMPILER ?= "`echo ${BUILD_CC} | sed 's/^\([^ ]*\).*/\1/'`"
6OECMAKE_NATIVE_CXX_COMPILER ?= "`echo ${BUILD_CXX} | sed 's/^\([^ ]*\).*/\1/'`" 3OECMAKE_NATIVE_CXX_COMPILER ?= "`echo ${BUILD_CXX} | sed 's/^\([^ ]*\).*/\1/'`"