From 08207f0782a1c67c1cdb067f3e67c9106de665be Mon Sep 17 00:00:00 2001 From: Michael Shaw Date: Fri, 17 Jul 2026 16:13:44 -0400 Subject: [PATCH] Makefile: fix build bug "make run" Signed-off-by: Michael Shaw --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 08f2f57..5094846 100644 --- a/Makefile +++ b/Makefile @@ -79,12 +79,13 @@ default: all: $(KERNEL) $(Q)compiledb -n make +.PHONY: __build_all __build_all: $(Q)$(MAKE) --no-print-directory -f scripts/Makefile.build _all obj=. $(KOBJ): __build_all -$(KERNEL): $(KOBJ) linker.ld +$(KERNEL): $(KOBJ) built-in.o linker.ld $(Q)echo " LD $@" $(Q)$(LD) $(KOBJ) $(LDFLAGS) -T linker.ld -o $@