22 lines
540 B
Makefile
22 lines
540 B
Makefile
|
|
EMU_PLATFORM = qemu
|
|
|
|
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
|
|
|
|
DEBUG_SCRIPT = qemu.sh
|
|
|
|
debugserver: QEMU_EXTRA_FLAGS += -s -S
|
|
debugserver: qemu
|
|
|
|
export QEMU_FLAGS_x86 QEMU_x86 QEMU_CPU_TYPE_x86
|