From 77be43c0bae7a315c4863b21e7cad53f19268b39 Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Tue, 31 Aug 2004 02:55:58 +0000 Subject: [PATCH] Add some missing dependencies. --- src/Makefile.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Makefile.inc b/src/Makefile.inc index d1bb0c9..7561dff 100644 --- a/src/Makefile.inc +++ b/src/Makefile.inc @@ -58,7 +58,7 @@ all: diskimage.bin intr-stubs.S: $(TOP_SRCDIR)/threads/intr-stubs.pl $< > $@ -kernel.lds: $(TOP_SRCDIR)/threads/kernel.lds.in +kernel.lds: $(TOP_SRCDIR)/threads/kernel.lds.in $(TOP_SRCDIR)/threads/loader.h $(CPP) -x assembler-with-cpp -P $< -o $@ kernel.o: $(OBJECTS) kernel.lds @@ -68,7 +68,7 @@ kernel.bin: kernel.o objcopy -O binary -R .note -R .comment -S $< $@.tmp $(TOP_SRCDIR)/pad 4096 < $@.tmp > $@ -loader.bin: loader.S kernel.bin +loader.bin: loader.S loader.h kernel.bin gcc -c $< -DKERNEL_LOAD_PAGES=`perl -e 'print +(-s "kernel.bin") / 4096;'` ld -N -e start -Ttext 0x7c00 --oformat binary -o $@ loader.o -- 2.30.2