From 6bb6384f70ddbeb2fc0d76ff737f77038dd0ec79 Mon Sep 17 00:00:00 2001 From: Kai Kang Date: Fri, 15 May 2020 16:52:50 +0800 Subject: 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 --- classes/cmake-native.bbclass | 3 --- 1 file changed, 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 @@ -# We need to unset CCACHE otherwise cmake gets too confused -CCACHE = "" - # Native C/C++ compiler (without cpu arch/tune arguments) OECMAKE_NATIVE_C_COMPILER ?= "`echo ${BUILD_CC} | sed 's/^\([^ ]*\).*/\1/'`" OECMAKE_NATIVE_CXX_COMPILER ?= "`echo ${BUILD_CXX} | sed 's/^\([^ ]*\).*/\1/'`" -- cgit v1.2.3-54-g00ecf