Espresso 0.0.1b
This commit is contained in:
8
Makefile
8
Makefile
@ -1,17 +1,17 @@
|
||||
# === Config ===
|
||||
TARGET := boot/espresso.bin
|
||||
TARGET := boot/espresso.elf
|
||||
ISO := boot/espresso.iso
|
||||
CC := i686-elf-gcc
|
||||
AS := i686-elf-as
|
||||
NASM := nasm
|
||||
QEMU_MKE_IMG := qemu-img create -f raw espresso.img 64M
|
||||
QEMU_MKE_IMG := qemu-img create -f raw espresso.img 256M
|
||||
MKFS_VFAT := sudo mkfs.vfat
|
||||
MKFS_FLAGS := -F 32 --mbr -S 512
|
||||
MKFS_FLAGS := -F 32 -S 512
|
||||
NASMFLAGS := -f elf32
|
||||
WNOFLAGS := -Wno-discarded-qualifiers
|
||||
CFLAGS := -std=gnu99 -ffreestanding -O2 -Wall -Wextra -msse $(WNOFLAGS)
|
||||
LDFLAGS := -T linker.ld -ffreestanding -O2 -nostdlib
|
||||
QEMUFLAGS := -device isa-debug-exit -serial stdio -kernel $(TARGET) -drive file=espresso.img,format=raw,if=ide,readonly=off,rerror=report,werror=report -cpu qemu32,sse2 #-singlestep
|
||||
QEMUFLAGS := -boot d -cdrom $(ISO) -drive file=espresso.img,format=raw,if=ide,readonly=off,rerror=report,werror=report -cpu qemu32,sse4.1 -singlestep
|
||||
SRC_DIRS := kernel drivers lib
|
||||
INCLUDE_DIRS := include
|
||||
INCLUDES := $(addprefix -I, $(INCLUDE_DIRS))
|
||||
|
Reference in New Issue
Block a user