Makefile: Added ISO test option for qemu.

This commit is contained in:
Nigel Barink 2021-11-28 23:06:21 +01:00
parent a36e3d1c16
commit 72438ae70d

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