From a101ac8b95489225a19b9fc8a2f49e79402aa4a6 Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Mon, 6 Sep 2004 05:45:41 +0000 Subject: [PATCH] Don't want -DKERNEL_LOAD_PAGES on every kernel.bin prereq. --- src/Makefile.build | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Makefile.build b/src/Makefile.build index 8fe960a..3886b5d 100644 --- a/src/Makefile.build +++ b/src/Makefile.build @@ -80,8 +80,8 @@ kernel.bin: kernel.o ../../pad 4096 < $@.tmp > $@ rm $@.tmp -threads/loader.o: kernel.bin -threads/loader.o: DEFINES += -DKERNEL_LOAD_PAGES=`perl -e 'print +(-s "kernel.bin") / 4096;'` +threads/loader.o: threads/loader.S kernel.bin + $(CC) -c $< -o $@ $(ASFLAGS) -DKERNEL_LOAD_PAGES=`perl -e 'print +(-s "kernel.bin") / 4096;'` loader.bin: threads/loader.o ld -N -e start -Ttext 0x7c00 --oformat binary -o $@ $< -- 2.30.2