mirror of
https://github.com/phil-opp/blog_os.git
synced 2025-12-16 22:37:49 +00:00
Use -cdrom instead of -drive as it's shorter
Right now, it does not matter whether we boot from a drive or a cdrom. Therefore we use the shorter `-cdrom`.
This commit is contained in:
4
Makefile
4
Makefile
@@ -28,10 +28,10 @@ clean:
|
||||
@rm -rf build
|
||||
|
||||
run: $(iso)
|
||||
@qemu-system-x86_64 -drive format=raw,file=$(iso) -s
|
||||
@qemu-system-x86_64 -cdrom $(iso) -s
|
||||
|
||||
debug: $(iso)
|
||||
@qemu-system-x86_64 -drive format=raw,file=$(iso) -s -S
|
||||
@qemu-system-x86_64 -cdrom $(iso) -s -S
|
||||
|
||||
gdb:
|
||||
@rust-os-gdb/bin/rust-gdb "build/kernel-x86_64.bin" -ex "target remote :1234"
|
||||
|
||||
Reference in New Issue
Block a user