Add libc to header search path
This commit is contained in:
parent
0e3e4d4769
commit
f20f654263
2
Makefile
2
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))
|
OBJ = $(C_SOURCES:.c=.o $(shell cat psinfo/$(PLAT)/o.txt))
|
||||||
CC = $(shell cat psinfo/$(PLAT)/cc.txt)
|
CC = $(shell cat psinfo/$(PLAT)/cc.txt)
|
||||||
GDB = $(shell cat psinfo/$(PLAT)/gdb.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
|
QFLAGS = -m 2G -boot d -cdrom os.iso -serial vc #-chardev socket,id=s1,port=3000,host=localhost -serial chardev:s1
|
||||||
|
|
||||||
all: os.iso
|
all: os.iso
|
||||||
|
Loading…
Reference in New Issue
Block a user