From d7c12c5210ed1545549b9d2b14fb9fb89ce652e2 Mon Sep 17 00:00:00 2001 From: Michal Idziorek Date: Wed, 13 May 2015 01:18:53 +0200 Subject: implementing multiboot spec stuff --- Makefile | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 94d4c7a..8c50fba 100644 --- a/Makefile +++ b/Makefile @@ -10,7 +10,8 @@ # main phony targets -.PHONY: all new run newrun stick clean +.PHONY: all new run newrun stick clean tags + ############ some constants ############ @@ -86,7 +87,7 @@ ASM_MULTIBOOT_OBJ=$(patsubst %.s, %.o, $(ASM_MULTIBOOT)) all: $(FOOLOS) #$(FOOLOS_VDI) new: clean all -run: run-qemu +run: run-qemu-debug newrun: clean run @@ -158,10 +159,11 @@ run-bochs: all # run in qemu run-qemu: all - qemu-system-i386 $(FOOLOS) + qemu -enable-kvm $(FOOLOS) run-qemu-debug: all - qemu-system-i386 -s -S ~/temp/FoolOs/disk.img +# qemu -enable-kvm -s -S ~/temp/FoolOs/disk.img + qemu -enable-kvm -s ~/temp/FoolOs/disk.img ############ create bootable usb image ############ @@ -173,4 +175,8 @@ stick: $(FOOLOS) ############ cleanup ############ clean: $(CLEANDIRS) - -rm *.bin $(FOOLOS) $(FOOLOS_VDI) $(KERNEL_ENTRY) $(ASM_MULTIBOOT_OBJ) $(KERNEL_IMG) $(ASM_OBJECTS) $(OBJECTS) $(IMG_FILLUP) $(BIN_MBR) $(BIN_MP) $(BIN_STAGE2) $(DEPS) bochs.out bochs.log ne2k-tx.log ne2k-txdump.txt + -rm *.bin $(FOOLOS) $(FOOLOS_VDI) $(KERNEL_ENTRY) $(ASM_MULTIBOOT_OBJ) $(KERNEL_IMG) $(ASM_OBJECTS) $(OBJECTS) $(IMG_FILLUP) $(BIN_MBR) $(BIN_MP) $(BIN_STAGE2) $(DEPS) bochs.out bochs.log ne2k-tx.log ne2k-txdump.txt tags + +tags: + ctags --recurse=yes . + -- cgit v1.2.3