Makefile: Added ISO test option for qemu.

dev
Nigel Barink 2021-11-28 23:06:21 +01:00
parent a36e3d1c16
commit 72438ae70d
1 changed files with 3 additions and 0 deletions

View File

@ -52,6 +52,9 @@ iso: clean_iso clean build
test:
$(EMULATOR) -kernel $(BUILD_DIR)/myos.bin -serial stdio -vga std -display gtk -m 2G -cpu core2duo
test_iso:
$(EMULATOR) -cdrom $(BUILD_DIR)/barinkOS.iso -serial stdio -vga std -display gtk -m 2G -cpu core2duo
build_kernel: $(OBJ_LINK_LIST)
$(CC) -T $(SRC_DIR)/kernel//linker.ld -o $(BUILD_DIR)/myos.bin \
-ffreestanding -O2 -nostdlib $(OBJ_LINK_LIST) -lgcc