summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorZhai Edwin <edwin.zhai@intel.com>2011-03-04 19:32:18 +0800
committerSaul Wold <sgw@linux.intel.com>2011-03-04 14:34:32 -0800
commit95fe31c60d8d01036f41cc36fa04dba37c62febf (patch)
treeea55aeb7e3aff372c25835bea768d26d96a6f80d /scripts
parent8f1465aa9cea6dea0de059a7cc3ae89973130ec7 (diff)
downloadpoky-95fe31c60d8d01036f41cc36fa04dba37c62febf.tar.gz
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>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/poky-qemu-internal7
1 files changed, 0 insertions, 7 deletions
diff --git a/scripts/poky-qemu-internal b/scripts/poky-qemu-internal
index 5e74169bdf..3638a65a8e 100755
--- a/scripts/poky-qemu-internal
+++ b/scripts/poky-qemu-internal
@@ -268,13 +268,6 @@ if [ "$NFS_SERVER" = "" ]; then
268fi 268fi
269 269
270if [ "$MACHINE" = "qemuarm" -o "$MACHINE" = "qemuarmv6" -o "$MACHINE" = "qemuarmv7" ]; then 270if [ "$MACHINE" = "qemuarm" -o "$MACHINE" = "qemuarmv6" -o "$MACHINE" = "qemuarmv7" ]; then
271 if [ -e /proc/sys/vm/mmap_min_addr ]; then
272 if [ `cat /proc/sys/vm/mmap_min_addr` != "0" ]; then
273 echo "Error, please set /proc/sys/vm/mmap_min_addr to 0 since otherwise it can cause problems with QEMU"
274 return
275 fi
276 fi
277
278 QEMU=qemu-system-arm 271 QEMU=qemu-system-arm
279 MACHINE_SUBTYPE=versatilepb 272 MACHINE_SUBTYPE=versatilepb
280 QEMU_UI_OPTIONS="$QEMU_UI_OPTIONS" 273 QEMU_UI_OPTIONS="$QEMU_UI_OPTIONS"