diff options
author | Daniel Willmann <daniel@totalueberwachung.de> | 2008-01-07 23:45:57 +0000 |
---|---|---|
committer | Daniel Willmann <daniel@totalueberwachung.de> | 2008-01-07 23:45:57 +0000 |
commit | 1bf5c3346ac395825d49f895922a61bcdbb238e5 (patch) | |
tree | ec4dc9efef3a2abccb92bdf4312ebd80c96a40b9 /classes/sanity.bbclass | |
parent | 22a6de3cdd938ecd144efec7e912cb7fa20debe6 (diff) | |
parent | bb3cd6d33b47a8aa00ad8dbef0411a7721720872 (diff) |
merge of '88e2766fe8aa4c69dc8688e0554e2e6d05bb9c67'
and 'f556521018478109967b108bb830f8109aefbb0e'
Diffstat (limited to 'classes/sanity.bbclass')
-rw-r--r-- | classes/sanity.bbclass | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/classes/sanity.bbclass b/classes/sanity.bbclass index cc413b7011..bbc06d9697 100644 --- a/classes/sanity.bbclass +++ b/classes/sanity.bbclass @@ -24,14 +24,6 @@ def check_conf_exists(fn, data): return True return False -def check_app_exists(app, d): - from bb import which, data - - app = data.expand(app, d) - path = data.getVar('PATH', d) - return len(which(path, app)) != 0 - - def check_sanity(e): from bb import note, error, data, __version__ from bb.event import Handled, NotHandled, getName @@ -91,6 +83,9 @@ def check_sanity(e): if not check_app_exists('${BUILD_PREFIX}g++', e.data): missing = missing + "C++ Compiler (${BUILD_PREFIX}g++)," + if not check_app_exists('${BUILD_PREFIX}gfortran', e.data): + missing = missing + "GNU Fortran Compiler" + required_utilities = "patch help2man diffstat texi2html makeinfo cvs svn bzip2 tar gzip gawk md5sum" for util in required_utilities.split(): |