classes/sanity.bbclass: We need GNU fortran installed to build the gcc4.2 cross compiler
authorHolger Freyther <zecke@selfish.org>
Sun, 6 Jan 2008 23:03:37 +0000 (23:03 +0000)
committerHolger Freyther <zecke@selfish.org>
Sun, 6 Jan 2008 23:03:37 +0000 (23:03 +0000)
classes/sanity.bbclass

index 9994feb..fb2d058 100644 (file)
@@ -83,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 = mising + "GNU Fortran Compiler"
+
        required_utilities = "patch help2man diffstat texi2html makeinfo cvs svn bzip2 tar gzip gawk md5sum"
 
        for util in required_utilities.split():