summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authordzwdz2022-03-27 16:38:14 +0200
committerdzwdz2022-03-27 16:38:14 +0200
commitb74ef85cce1ceb5840e9f3bdc43558b75740b83b (patch)
treecb347547182d708b370a6af411cad02bce23a847 /Makefile
parent1fc26ce8e5b397f7301d783fbd4c776e5b5b5275 (diff)
kernel/vfs: partial ATA drive support
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index bce95f6..3d913d4 100644
--- a/Makefile
+++ b/Makefile
@@ -22,13 +22,12 @@ endef
all: out/boot.iso check
boot: all out/hdd
- qemu-system-i386 -cdrom out/boot.iso $(QFLAGS) -serial stdio \
- -drive file=out/hdd,format=raw,media=disk
+ qemu-system-i386 -drive file=out/boot.iso,format=raw,media=disk $(QFLAGS) -serial stdio
test: all
@# pipes for the serial
@mkfifo out/qemu.in out/qemu.out 2> /dev/null || true
- qemu-system-i386 -cdrom out/boot.iso $(QFLAGS) -serial pipe:out/qemu &
+ qemu-system-i386 -drive file=out/boot.iso,format=raw,media=disk $(QFLAGS) -serial pipe:out/qemu &
@# for some reason the first sent character doesn't go through to the shell
@# the empty echo takes care of that, so the next echos will work just fine
@echo > out/qemu.in