From 858a52c06a4615bd58a6a906333f2ad707d41c0a Mon Sep 17 00:00:00 2001 From: Jon Santmyer Date: Tue, 19 Aug 2025 15:04:04 -0400 Subject: usermode pager --- apps/init/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'apps/init/Makefile') diff --git a/apps/init/Makefile b/apps/init/Makefile index 642ca38..1834d0b 100644 --- a/apps/init/Makefile +++ b/apps/init/Makefile @@ -1,11 +1,12 @@ include $(CONFIG) CFILES := $(wildcard *.c) +CFILES += $(wildcard arch/$(TARGET_MACHINE)/*.c) OFILES := $(patsubst %.c,%.o,$(CFILES)) OFILES += $(STATICLIBS) CFLAGS := -ffreestanding -nostdlib -g -LDFLAGS := -T $(TARGET_MACHINE).ld +LDFLAGS := -T arch/$(TARGET_MACHINE)/link.ld OCFLAGS := -O binary \ --set-section-flags .bss=alloc,load,contents -- cgit v1.2.1