summaryrefslogtreecommitdiffstats
path: root/apps/init/Makefile
diff options
context:
space:
mode:
authorJon Santmyer <jon@jonsantmyer.com>2025-08-19 15:04:04 -0400
committerJon Santmyer <jon@jonsantmyer.com>2025-08-19 15:04:04 -0400
commit858a52c06a4615bd58a6a906333f2ad707d41c0a (patch)
tree16870cd4d67da283567a72a74d28c04464da292a /apps/init/Makefile
parent65ba015d6c1f248d36ad01a653bc49637804b15b (diff)
downloadjove-os-858a52c06a4615bd58a6a906333f2ad707d41c0a.tar.gz
jove-os-858a52c06a4615bd58a6a906333f2ad707d41c0a.tar.bz2
jove-os-858a52c06a4615bd58a6a906333f2ad707d41c0a.zip
usermode pager
Diffstat (limited to 'apps/init/Makefile')
-rw-r--r--apps/init/Makefile3
1 files changed, 2 insertions, 1 deletions
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