diff options
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/poky-qemu-internal | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/scripts/poky-qemu-internal b/scripts/poky-qemu-internal index cb5d28b904..f13b95def2 100755 --- a/scripts/poky-qemu-internal +++ b/scripts/poky-qemu-internal | |||
@@ -150,14 +150,14 @@ if [ ! -f "$ZIMAGE" ]; then | |||
150 | return | 150 | return |
151 | fi | 151 | fi |
152 | 152 | ||
153 | if [ -e /proc/sys/vm/mmap_min_addr ]; then | 153 | if [ "$MACHINE" = "qemuarm" -o "$MACHINE" = "qemuarmv6" -o "$MACHINE" = "qemuarmv7" ]; then |
154 | if [ `cat /proc/sys/vm/mmap_min_addr` != "0" ]; then | 154 | if [ -e /proc/sys/vm/mmap_min_addr ]; then |
155 | echo "Error, please set /proc/sys/vm/mmap_min_addr to 0 since otherwise it can cause problems with QEMU" | 155 | if [ `cat /proc/sys/vm/mmap_min_addr` != "0" ]; then |
156 | return | 156 | echo "Error, please set /proc/sys/vm/mmap_min_addr to 0 since otherwise it can cause problems with QEMU" |
157 | return | ||
158 | fi | ||
157 | fi | 159 | fi |
158 | fi | ||
159 | 160 | ||
160 | if [ "$MACHINE" = "qemuarm" -o "$MACHINE" = "qemuarmv6" -o "$MACHINE" = "qemuarmv7" ]; then | ||
161 | QEMU=qemu-system-arm | 161 | QEMU=qemu-system-arm |
162 | MACHINE_SUBTYPE=versatilepb | 162 | MACHINE_SUBTYPE=versatilepb |
163 | QEMU_UI_OPTIONS="$QEMU_UI_OPTIONS" | 163 | QEMU_UI_OPTIONS="$QEMU_UI_OPTIONS" |