[oe] [PATCH 1/2] icecc: remove bb.errors on un-built compilers

Roman I Khimov khimov at altell.ru
Wed Jul 15 12:52:01 UTC 2009


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 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/classes/icecc.bbclass b/classes/icecc.bbclass
index 0eb2d9f..27e0e56 100644
--- a/classes/icecc.bbclass
+++ b/classes/icecc.bbclass
@@ -62,7 +62,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++") )
@@ -159,7 +158,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) )
-- 
1.6.3.3





More information about the Openembedded-devel mailing list