From 18667c48b0cf6497b50c00f00f474d79a68f59ce Mon Sep 17 00:00:00 2001 From: dzwdz Date: Tue, 26 Jul 2022 18:16:10 +0200 Subject: shared: move some headers from shared/ to camellia/ --- Makefile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 0b57534..0b40df9 100644 --- a/Makefile +++ b/Makefile @@ -5,7 +5,7 @@ CC = x86_64-elf-gcc CHECK = sparse CFLAGS += -g -std=gnu99 -ffreestanding -O2 -Wall -Wextra -Wold-style-definition -Werror=implicit-function-declaration -ftrack-macro-expansion=0 CFLAGS += -mgeneral-regs-only -Wno-address-of-packed-member -CFLAGS += -Isrc/ +CFLAGS += -Isrc/ -Isrc/shared/include/ SPARSEFLAGS = -Wno-non-pointer-null LFLAGS = -ffreestanding -O2 -nostdlib -lgcc -Wl,-zmax-page-size=4096 -Wl,--no-warn-mismatch QFLAGS = -no-reboot @@ -78,7 +78,6 @@ out/initrd/%: initrd/% out/initrd.tar: $(patsubst %,out/%,$(shell find initrd/ -type f)) \ $(patsubst %,out/initrd/%.elf,$(USERBINS)) - echo $^ cd out/initrd; tar chf ../initrd.tar * out/fs/boot/init: out/bootstrap out/initrd.tar @@ -113,5 +112,5 @@ out/obj/kernel/arch/amd64/32/%.s.o: src/kernel/arch/amd64/32/%.s @mkdir -p $(@D) @$(CC) -m32 -c $^ -o $@ -src/user/lib/syscall.c: src/user/lib/syscall.c.awk src/shared/syscalls.h +src/user/lib/syscall.c: src/user/lib/syscall.c.awk src/shared/include/camellia/syscalls.h awk -f $^ > $@ -- cgit v1.2.3