From: Ben Pfaff Date: Tue, 31 Aug 2004 02:55:58 +0000 (+0000) Subject: Add some missing dependencies. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=77be43c0bae7a315c4863b21e7cad53f19268b39;p=pintos-anon Add some missing dependencies. --- 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