[oe-commits] Roman Khimov : icecc: remove bb.errors on un-built compilers
git version control
git at git.openembedded.org
Sun Jan 24 03:30:05 UTC 2010
Module: openembedded.git
Branch: org.openembedded.dev
Commit: fded57212337dbff5c9c92944457d7e41adbf7ff
URL: http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=fded57212337dbff5c9c92944457d7e41adbf7ff
Author: Roman Khimov <khimov at altell.ru>
Date: Wed Jul 15 11:52:01 2009 +0000
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 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/classes/icecc.bbclass b/classes/icecc.bbclass
index 4962fcb..9e11a3c 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) )
More information about the Openembedded-commits
mailing list