aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2008-05-09 09:06:41 +0000
committerKoen Kooi <koen@openembedded.org>2008-05-09 09:06:41 +0000
commitc9d91df8421465531fc1df7b0f1c581890d1caad (patch)
tree17684eb62a5a92ff0e762bba7f9e7e35d063c9a0
parent6b838124a3e615c86f16eaeb1d0b6bf853621b11 (diff)
parent4f7a35de20f1f0cc8c303e9cb404ad872d5aaa30 (diff)
downloadopenembedded-c9d91df8421465531fc1df7b0f1c581890d1caad.tar.gz
merge of '02f2658aecfb649fc8c64f9e8ec8cce2af899d06'
and '453d96c1eddfc3aaf1df1ad855de2344122925a8'
-rw-r--r--classes/sanity.bbclass6
1 files changed, 6 insertions, 0 deletions
diff --git a/classes/sanity.bbclass b/classes/sanity.bbclass
index cc413b7011..0b47ca0213 100644
--- a/classes/sanity.bbclass
+++ b/classes/sanity.bbclass
@@ -91,6 +91,12 @@ def check_sanity(e):
if not check_app_exists('${BUILD_PREFIX}g++', e.data):
missing = missing + "C++ Compiler (${BUILD_PREFIX}g++),"
+ if os.path.exists("/proc/sys/vm/mmap_min_addr"):
+ f = file("/proc/sys/vm/mmap_min_addr", "r")
+ if (f.read().strip() != "0"):
+ messages = messages + "/proc/sys/vm/mmap_min_addr is not 0. This will cause problems with qemu so please fix the value (as root).\n"
+ f.close()
+
required_utilities = "patch help2man diffstat texi2html makeinfo cvs svn bzip2 tar gzip gawk md5sum"
for util in required_utilities.split():