summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index e8a2878..50083b4 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,7 @@
+
+
#####################
# #
# FoolOS Build Sys. #
@@ -32,7 +34,7 @@ CFLAGS=
## CFLAGS+=-Werror-implicit-function-declaration
## CFLAGS+=-w
CFLAGS+=-ffreestanding
-CFLATS+=-Wall
+#CFLATS+=-Wall
CFLAGS+=-Wextra
#CFLAGS+=-O3
#CFLAGS+=-O0
@@ -159,13 +161,13 @@ run-bochs: all
~/opt/bochs-2.6.8/bin/bochs -q -f bochs/bochsrc -rc bochs/bochsdebug
# run in qemu
-run-qemu:
+run-qemu: all
qemu -enable-kvm disk.img -smp 4 -s
-run-qemu-debug:
+run-qemu-debug: all
# qemu -enable-kvm -s -S ~/temp/FoolOs/disk.img
# qemu -enable-kvm -s -singlestep disk.img
- qemu -enable-kvm -s -S -kernel foolos.img -smp 4 # -initrd ext2.img
+ qemu -enable-kvm -s -S -kernel foolos.img -smp 4 -initrd userspace/ext2.img
stop:
killall qemu