diff options
author | dzwdz | 2022-09-03 23:41:17 +0200 |
---|---|---|
committer | dzwdz | 2022-09-03 23:41:17 +0200 |
commit | d73c5ac9891ea3a88fa6a5ec1339df1f5cdf1a49 (patch) | |
tree | d7a6ea63772d9bcf2c27e9a6eaa4989f2ea1c175 /Makefile | |
parent | ecc54f4be44fa1fd1ce79b0458a04eef2667cba8 (diff) |
user/libc: generate strerror from camellia/errno.h
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -40,7 +40,7 @@ endef .PHONY: all portdeps boot debug lint check clean all: portdeps out/boot.iso check -portdeps: out/libc.a out/libm.a +portdeps: out/libc.a out/libm.a src/user/lib/include/__errno.h boot: all out/hdd qemu-system-x86_64 -drive file=out/boot.iso,format=raw,media=disk $(QFLAGS) -serial stdio @@ -167,5 +167,8 @@ out/obj/kernel/arch/amd64/32/%.s.o: src/kernel/arch/amd64/32/%.s @mkdir -p $(@D) @$(CC) -m32 -c $^ -o $@ +src/user/lib/include/__errno.h: src/user/lib/include/__errno.h.awk src/shared/include/camellia/errno.h + @awk -f $^ > $@ + src/user/lib/syscall.c: src/user/lib/syscall.c.awk src/shared/include/camellia/syscalls.h @awk -f $^ > $@ |