zephyr/boards/x86/qemu_x86/board.cmake
Andrew Boie 7d301cbb6c cmake: qemu_x86: remove useless options
BIOS options are unnecessary and were breaking 'make run' on
OS X.

Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
2018-04-04 20:31:24 -04:00

27 lines
497 B
CMake

set(EMU_PLATFORM qemu)
if(NOT CONFIG_REBOOT)
set(REBOOT_FLAG -no-reboot)
endif()
set(QEMU_CPU_TYPE_${ARCH} qemu32,+nx,+pae)
set(QEMU_FLAGS_${ARCH}
-m 8
-cpu ${QEMU_CPU_TYPE_${ARCH}}
-device isa-debug-exit,iobase=0xf4,iosize=0x04
${REBOOT_FLAG}
-nographic
-vga none
-display none
-net none
-clock dynticks
-no-acpi
-balloon none
-machine type=pc-0.14
)
# TODO: Support debug
# set(BOARD_DEBUG_RUNNER qemu)
# debugserver: QEMU_EXTRA_FLAGS += -s -S
# debugserver: qemu