summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Moffett <ian@osmora.org>2024-02-27 20:05:56 -0500
committerIan Moffett <ian@osmora.org>2024-02-27 20:05:56 -0500
commit70117880871d41de491e3486058e9856ad442967 (patch)
tree877b55758fe4ee67d0d5c7fa0d0e18fabab5005b
parentf3d3f67aa20159a62ff68cdef8eed421b09c4867 (diff)
build: Fix linking of symbol table
Signed-off-by: Ian Moffett <ian@osmora.org>
-rw-r--r--Makefile.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile.in b/Makefile.in
index 6622deb..61b11e3 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -92,7 +92,8 @@ base/boot/hyra-kernel: $(KERNEL_OBJECTS) $(KERNEL_ASMOBJECTS)
tools/ksyms sys/kern/ksyms.c base/boot/hyra-kernel
# === Generating symbols ===
$(CC) -c $(KERNEL_CFLAGS) $(KERNEL_DEFINES) sys/kern/ksyms.c -o sys/kern/ksyms.o
- $(LD) $(KERNEL_LDFLAGS) $(KERNEL_OBJECTS) $(KERNEL_ASMOBJECTS) -o base/boot/hyra-kernel
+ $(LD) $(KERNEL_LDFLAGS) $(KERNEL_OBJECTS) $(KERNEL_ASMOBJECTS) \
+ sys/kern/ksyms.o -o base/boot/hyra-kernel
cd base/; tar cvf ../initramfs.tar * &> /dev/null
$(PROMPT) " RAMFS " $(shell pwd)/initramfs.tar
# === Building ISO ===