diff options
Diffstat (limited to 'partitions/Makefile')
-rw-r--r-- | partitions/Makefile | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/partitions/Makefile b/partitions/Makefile index 91a60d9..e51ddd7 100644 --- a/partitions/Makefile +++ b/partitions/Makefile | |||
@@ -33,13 +33,20 @@ optional_persist_disk != [ ! -e $(PERSIST_FILE) ] || printf %s '-drive file=$(PE | |||
33 | usb: $(whole) | 33 | usb: $(whole) |
34 | usb=$$(usb) && sudo dd status=progress if="$<" of="$$usb" | 34 | usb=$$(usb) && sudo dd status=progress if="$<" of="$$usb" |
35 | 35 | ||
36 | |||
36 | # QEMU_DISPLAY_OPTIONS = -nographic | 37 | # QEMU_DISPLAY_OPTIONS = -nographic |
37 | QEMU_DISPLAY_OPTIONS = -display gtk | 38 | QEMU_DISPLAY_OPTIONS = -display gtk |
38 | 39 | ||
39 | QEMU_OPTIONS = $(QEMU_BIOS_OPTIONS) $(QEMU_DISPLAY_OPTIONS) | 40 | define QEMU_OPTIONS |
41 | -global isa-fdc.fdtypeA=none | ||
42 | $(QEMU_BIOS_OPTIONS) | ||
43 | $(QEMU_DISPLAY_OPTIONS) | ||
44 | endef | ||
40 | 45 | ||
41 | define emu | 46 | define emu |
42 | NO_AT_BRIDGE=1 qemu-system-x86_64 ${QEMU_OPTIONS} -m 800 -enable-kvm -boot c \ | 47 | NO_AT_BRIDGE=1 qemu-system-x86_64 \ |
48 | ${QEMU_OPTIONS:%=%} \ | ||
49 | -m 800 -enable-kvm -boot c \ | ||
43 | -drive file=$(1),media=disk,driver=raw \ | 50 | -drive file=$(1),media=disk,driver=raw \ |
44 | $(optional_persist_disk) | 51 | $(optional_persist_disk) |
45 | endef | 52 | endef |