qemu-script: Remove mmap_min_addr check

qemu 0.13.0 can handle mmap_min_addr well, and patch to remove checks in
sanity.bbclass has already in oe-core mailinglist by Raj. This patch does
the same thing for qemu-script.

(From OE-Core rev: 48181023314ac09743b958b0035399797fe6cff9)

Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Zhai Edwin 2011-03-04 19:32:18 +08:00 committed by Richard Purdie
parent ed735a4813
commit 0bc244181f
1 changed files with 0 additions and 7 deletions

View File

@ -268,13 +268,6 @@ if [ "$NFS_SERVER" = "" ]; then
fi
if [ "$MACHINE" = "qemuarm" -o "$MACHINE" = "qemuarmv6" -o "$MACHINE" = "qemuarmv7" ]; then
if [ -e /proc/sys/vm/mmap_min_addr ]; then
if [ `cat /proc/sys/vm/mmap_min_addr` != "0" ]; then
echo "Error, please set /proc/sys/vm/mmap_min_addr to 0 since otherwise it can cause problems with QEMU"
return
fi
fi
QEMU=qemu-system-arm
MACHINE_SUBTYPE=versatilepb
QEMU_UI_OPTIONS="$QEMU_UI_OPTIONS"