[OE-core] [PATCH] sanity: removed broken compiler check

Enrico Scholz enrico.scholz at sigma-chemnitz.de
Wed Nov 16 11:39:56 UTC 2016


From: Enrico Scholz <enrico.scholz at ensc.de>

The compiler check is broken because it checks for the existance of
${CC} as a file.  This fails with ccache with

|    Please install the following missing utilities: C Compiler (ccache
gcc ),C++ Compiler (ccache g++ )

Remove this check for now.

Signed-off-by: Enrico Scholz <enrico.scholz at ensc.de>
---
 meta/classes/sanity.bbclass | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/meta/classes/sanity.bbclass b/meta/classes/sanity.bbclass
index 7388da6..46f54df 100644
--- a/meta/classes/sanity.bbclass
+++ b/meta/classes/sanity.bbclass
@@ -669,12 +669,6 @@ def check_sanity_version_change(status, d):
     if not check_app_exists("${MAKE}", d):
         missing = missing + "GNU make,"
 
-    if not check_app_exists('${BUILD_CC}', d):
-        missing = missing + "C Compiler (%s)," % d.getVar("BUILD_CC", True)
-
-    if not check_app_exists('${BUILD_CXX}', d):
-        missing = missing + "C++ Compiler (%s)," % d.getVar("BUILD_CXX", True)
-
     required_utilities = d.getVar('SANITY_REQUIRED_UTILITIES', True)
 
     for util in required_utilities.split():
-- 
2.7.4




More information about the Openembedded-core mailing list