summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorZhai Edwin <edwin.zhai@intel.com>2011-03-04 19:32:18 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-03-04 22:26:39 +0000
commit0bc244181fce67725ddd0981481e5611b700cf51 (patch)
treeb49c8c5f3a7465d453bd066d176b04862bb41b13 /scripts
parented735a48139b433f30af2f44b7962546ad90c3f9 (diff)
downloadpoky-0bc244181fce67725ddd0981481e5611b700cf51.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"