2017-01-08 02:22:21 +08:00
|
|
|
|
2017-01-08 05:31:34 +08:00
|
|
|
EMU_PLATFORM = qemu
|
|
|
|
|
2017-01-08 04:38:19 +08:00
|
|
|
QEMU_BIOS ?= /usr/share/qemu
|
|
|
|
QEMU_CPU_TYPE_x86 = qemu32
|
|
|
|
QEMU_X86_NO_REBOOT_y =
|
|
|
|
QEMU_X86_NO_REBOOT_ = -no-reboot
|
|
|
|
QEMU_FLAGS_x86 = -m 32 -cpu $(QEMU_CPU_TYPE_x86) \
|
|
|
|
$(QEMU_X86_NO_REBOOT_$(CONFIG_REBOOT)) \
|
|
|
|
-nographic -vga none -display none -net none \
|
|
|
|
-clock dynticks -no-acpi -balloon none \
|
|
|
|
-L $(QEMU_BIOS) -bios bios.bin \
|
|
|
|
-machine type=pc-0.14
|
|
|
|
QEMU_x86 = qemu-system-i386
|
|
|
|
|
2017-01-08 02:22:21 +08:00
|
|
|
DEBUG_SCRIPT = qemu.sh
|
|
|
|
|
|
|
|
debugserver: QEMU_EXTRA_FLAGS += -s -S
|
|
|
|
debugserver: qemu
|
2017-01-08 04:38:19 +08:00
|
|
|
|
|
|
|
export QEMU_FLAGS_x86 QEMU_x86 QEMU_CPU_TYPE_x86
|