From f20f6542639fcd94e293256d369db95b6842eb95 Mon Sep 17 00:00:00 2001 From: pjht Date: Sat, 9 Feb 2019 13:54:53 -0600 Subject: [PATCH] Add libc to header search path --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index ed426d4..4269d29 100644 --- a/Makefile +++ b/Makefile @@ -3,7 +3,7 @@ C_SOURCES = $(wildcard kernel/*.c drivers/$(PLAT)/*.c drivers/$(PLAT)/*/*.c libc OBJ = $(C_SOURCES:.c=.o $(shell cat psinfo/$(PLAT)/o.txt)) CC = $(shell cat psinfo/$(PLAT)/cc.txt) GDB = $(shell cat psinfo/$(PLAT)/gdb.txt) -CFLAGS = -Wall -g -ffreestanding +CFLAGS = -Ilibc -Wall -g -ffreestanding QFLAGS = -m 2G -boot d -cdrom os.iso -serial vc #-chardev socket,id=s1,port=3000,host=localhost -serial chardev:s1 all: os.iso