add targets for linux/linux+baremetal
This commit is contained in:
6
Makefile
6
Makefile
@ -9,3 +9,9 @@ run-external:
|
||||
|
||||
bochs-host:
|
||||
nix shell nixpkgs#bochs --command sh -c "bochs -q -f ./examples/arch/bochs/bochsrc-host.txt -q"
|
||||
|
||||
qemu-host:
|
||||
qemu-system-i386 -drive file=./examples/build-bochs/sum/system.iso,media=cdrom -boot d -m 32 -S -s
|
||||
|
||||
gdb-host:
|
||||
nix shell nixpkgs#gdb --command gdb ./examples/build-bochs/sum/system.elf -ex "set substitute-path build-bochs ./examples/build-bochs" -ex "target remote localhost:1234" -ex "break os_main"
|
||||
|
||||
Reference in New Issue
Block a user