X-Git-Url: http://git.dujemihanovic.xyz/%7B%7B?a=blobdiff_plain;f=Makefile;h=502430a15416276d15b523929b7ec878ba26867b;hb=refs%2Fheads%2Fmm;hp=cc923070db4ab2271cf64205407ea297284157b1;hpb=96b81920dce6c169f32fc4d5b724b4046ea9bfcd;p=nameless-os.git diff --git a/Makefile b/Makefile index cc92307..502430a 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ export CROSS_COMPILE = i686-elf- export AS = yasm export CC = gcc -export QEMU = qemu-system-i386 -monitor stdio +export QEMU = qemu-system-i386 -monitor stdio -cpu pentium2 export GIT_REV = $(shell git describe --long HEAD) export REAL_CC = $(CROSS_COMPILE)$(CC) export CFLAGS @@ -12,9 +12,9 @@ MAKEFLAGS += -rR default: kernel/kernel.elf bootloader all: default boot/x86/disk.img run: all - $(QEMU) boot/x86/disk.img + $(QEMU) -drive file=boot/x86/disk.img,format=raw,throttling.iops-total=100 debug: all - $(QEMU) -s -S boot/x86/disk.img + $(QEMU) -s -S -drive file=boot/x86/disk.img,format=raw,throttling.iops-total=100 kernel/kernel.elf: $(MAKE) -C kernel