From fded57212337dbff5c9c92944457d7e41adbf7ff Mon Sep 17 00:00:00 2001 From: Roman Khimov Date: Wed, 15 Jul 2009 11:52:01 +0000 Subject: icecc: remove bb.errors on un-built compilers Building things with icecc and BB_NUMBER_THREADS more then 1 you could see a lot of messages: ERROR: no cross compiler built yet? before gcc-cross would be properly built. There is technically nothing wrong, cross compiler is not there yet and it's not needed when bitbake does fetch-unpack-patch and other things to prepare package build. But it makes people uncomfortable. We can safely kill this messages. --- classes/icecc.bbclass | 2 -- 1 file changed, 2 deletions(-) (limited to 'classes') diff --git a/classes/icecc.bbclass b/classes/icecc.bbclass index 4962fcb7e6..9e11a3ce49 100644 --- a/classes/icecc.bbclass +++ b/classes/icecc.bbclass @@ -60,7 +60,6 @@ def create_cross_env(bb,d): os.stat(os.path.join(ice_dir, target_sys, 'lib', 'libstdc++.so')) os.stat(os.path.join(ice_dir, target_sys, 'bin', 'g++')) except: # no cross compiler built yet - bb.error('no cross compiler built yet?') return "" VERSION = icc_determine_gcc_version( os.path.join(ice_dir,target_sys,"bin","g++") ) @@ -157,7 +156,6 @@ def create_cross_kernel_env(bb,d): try: os.stat(os.path.join(ice_dir, 'bin', kernel_cc)) except: # no cross compiler built yet - bb.error('no kernel cross compiler built yet') return "" VERSION = icc_determine_gcc_version( os.path.join(ice_dir,"bin",kernel_cc) ) -- cgit v1.2.3