diff options
author | Ian Moffett <ian@osmora.org> | 2025-06-19 00:58:57 -0400 |
---|---|---|
committer | Ian Moffett <ian@osmora.org> | 2025-06-19 00:58:57 -0400 |
commit | ce146606aa78ad813e17b2bf88c246603bd2904c (patch) | |
tree | dc243d213ad319409783417fc9933a04b024b564 /lib | |
parent | 69555029efa9f7bdd9c3fe5beb201d3c9b341c41 (diff) |
usr: libc: Look in src/arch/$(ARCH) for asm files
This allows seperation of different architectures
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libc/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/Makefile b/lib/libc/Makefile index f9a1239..b5bd01e 100644 --- a/lib/libc/Makefile +++ b/lib/libc/Makefile @@ -1,6 +1,6 @@ CFLAGS = -c -fno-stack-protector -nostdlib -static -Iinclude/ -D_OLIBC LIBC_CFILES = $(shell find src/ -name "*.c") -LIBC_ASMFILES = $(shell find src/ -name "*.S") +LIBC_ASMFILES = $(shell find src/arch/$(ARCH) -name "*.S") LIBC_OBJ = $(LIBC_CFILES:.c=.o) LIBC_ASMOBJ = $(LIBC_ASMFILES:.S=.S.o) |