diff options
author | Ian Moffett <ian@osmora.org> | 2025-09-17 17:11:51 -0400 |
---|---|---|
committer | Ian Moffett <ian@osmora.org> | 2025-09-17 17:11:51 -0400 |
commit | d8e9bc85c654cfc58a96a7b1a1f18d839f4f3e65 (patch) | |
tree | 65eceb554b1b71916e3260c9dc7964926919a447 /src/cmd/Makefile | |
parent | a1e193f571e167c3784976843a45b077324d41c4 (diff) |
cmd: test: Use and link with libc stub
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'src/cmd/Makefile')
-rw-r--r-- | src/cmd/Makefile | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/cmd/Makefile b/src/cmd/Makefile index 2d1c7f8..e5eee71 100644 --- a/src/cmd/Makefile +++ b/src/cmd/Makefile @@ -1,9 +1,13 @@ LDSCRIPT=../../sys/arch/$(TARGET)/conf/user.ld +LIBC_DIR = lib/libc +CC = +AS = +LD = .PHONY: all all: - cd test/; LDSCRIPT=$(LDSCRIPT) CC=$(CC) ASM=$(ASM) \ - LD=$(ASM) SYSROOT=$(SYSROOT) make + cd test/; LDSCRIPT=$(LDSCRIPT) CC=$(CC) AS=$(AS) LD=$(LD) SYSROOT=$(SYSROOT) \ + LIBC_DIR=$(shell pwd)/../$(LIBC_DIR) make .PHONY: clean clean: |