aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2017-01-14 09:51:07 +0100
committerAlex Auvolat <alex@adnab.me>2017-01-14 09:51:07 +0100
commitc451e6d95b4d0a7ce27fcd97bc94fd3540649b73 (patch)
tree168be95fd821bbb0e959f824b5e0ab8a19b4a518
parentb778be744f509b515e195e05afe0908e1cd92e11 (diff)
downloadkogata-c451e6d95b4d0a7ce27fcd97bc94fd3540649b73.tar.gz
kogata-c451e6d95b4d0a7ce27fcd97bc94fd3540649b73.zip
fix makefile
-rw-r--r--Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 6e43f2a..b0d5530 100644
--- a/Makefile
+++ b/Makefile
@@ -1,3 +1,5 @@
+QEMU=qemu-system-x86_64
+
all:
bam
@@ -27,13 +29,13 @@ run_tests:
bam test.dev
run_qemu: all
- qemu-system-i386 -cdrom cdrom.dev.iso -serial stdio -m 12 </dev/null
+ $(QEMU) -cdrom cdrom.dev.iso -serial stdio -m 12 </dev/null
run_qemu_rel: rel
- qemu-system-i386 -cdrom cdrom.rel.iso -serial stdio -m 12 </dev/null
+ $(QEMU) -cdrom cdrom.rel.iso -serial stdio -m 12 </dev/null
run_qemu_debug: all
- qemu-system-i386 -cdrom cdrom.dev.iso -serial stdio -m 12 -s -S </dev/null & \
+ $(QEMU) -cdrom cdrom.dev.iso -serial stdio -m 12 -s -S </dev/null & \
(sleep 0.1; gdb src/kernel/kernel.bin -x gdb_cmd)
run_bochs_debug: all