aboutsummaryrefslogtreecommitdiff
path: root/kernel/Makefile
diff options
context:
space:
mode:
authorMarvin Borner2021-02-28 13:40:45 +0100
committerMarvin Borner2021-02-28 13:40:45 +0100
commitd50d3aeaaeaca4a75a807759a54d1d6ae8b5bce4 (patch)
tree5d606caef5599ef8a5c1383560202ca9b89b681e /kernel/Makefile
parent2a2f12c64a99749b05507d80ba3ee728d5ed76e1 (diff)
Fixed memory mapping detection
Diffstat (limited to 'kernel/Makefile')
-rw-r--r--kernel/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/Makefile b/kernel/Makefile
index 8f090d1..6763185 100644
--- a/kernel/Makefile
+++ b/kernel/Makefile
@@ -35,5 +35,5 @@ all: compile
compile: $(COBJS)
@mkdir -p ../build/
- @$(LD) -N -ekernel_main -Ttext 0x00050000 -o ../build/kernel.elf -L../build/ $+ -lk
+ @$(LD) -N -z undefs -ekernel_main -Ttext 0x00050000 -o ../build/kernel.elf -L../build/ $+ -lk
@$(LD) -N -Tlink.ld -o ../build/kernel.bin -L../build/ $+ -lk