From 0921a33fc9f3724cb36a03a24b58b0a5bfc519b1 Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Mon, 1 Dec 2014 17:24:38 +0100 Subject: Advance HH, GDT, IDT (details below) - Implement higher-half in loader with paging (using 4Mb pages) - Add GDT installation code - Add IDT installation code (spend a loong time debugging the ISRs!) - Add CDROM generation scripts - Add scripts to launch bochs (debug) and qemu (debug) --- kernel/Makefile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'kernel/Makefile') diff --git a/kernel/Makefile b/kernel/Makefile index 04721ba..43b8c7e 100644 --- a/kernel/Makefile +++ b/kernel/Makefile @@ -1,15 +1,17 @@ AS = nasm -ASFLAGS = -felf +ASFLAGS = -felf -g CC = i586-elf-gcc -CFLAGS = -ffreestanding -O2 -std=gnu99 -Wall -Wextra -I . -I ./include +CFLAGS = -ffreestanding -O2 -std=gnu99 -Wall -Wextra -I . -I ./include -g # CXX = i586-elf-g++ # CXFLAGS = -ffreestanding -O3 -Wall -Wextra -I . -I ./include -fno-exceptions -fno-rtti LD = i586-elf-gcc LDFLAGS = -T linker.ld -ffreestanding -O2 -nostdlib -lgcc -OBJ = lib/string.o lib/printf.o l0/loader.o l0/kmain.o l0/dbglog.o l0/sys.o +OBJ = lib/string.o lib/printf.o \ + l0/loader.o l0/kmain.o l0/dbglog.o l0/sys.o \ + l0/gdt.o l0/idt.o l0/interrupt.o OUT = kernel.bin all: $(OUT) -- cgit v1.2.3