summaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorIan Moffett <ian@osmora.org>2024-05-25 22:41:32 -0400
committerIan Moffett <ian@osmora.org>2024-05-25 22:41:32 -0400
commit94d6ea02c510ca3752d9667dac13bfb16ab2ee2c (patch)
tree8003cb9d7fd1039d40fb1954374a5eb9fe695b94 /Makefile.in
parentbd93d4966c5d78cb4ee2ab84d32890ea1ca77d53 (diff)
build: Add user linker script
This ensures the memory layout is in a proper state Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile.in b/Makefile.in
index 37f1e98..d5893c5 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -27,7 +27,8 @@ endif
override AS = $(CC)
override USRDIR=$(shell pwd)/base/usr/
override LIBC = libc.a
-override USER_MKFLGS = CC=$(CC) LD=$(LD) LIBC=$(LIBC) USRDIR=$(USRDIR)
+override USER_LDSCRIPT = $(shell pwd)/conf/user-link.ld
+override USER_MKFLGS = LDSCRIPT=$(USER_LDSCRIPT) CC=$(CC) LD=$(LD) LIBC=$(LIBC) USRDIR=$(USRDIR)
##########################
# Architecture specifics