projects
/
pintos-anon
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6916b24
)
Don't want -DKERNEL_LOAD_PAGES on every kernel.bin prereq.
author
Ben Pfaff
<blp@cs.stanford.edu>
Mon, 6 Sep 2004 05:45:41 +0000
(
05:45
+0000)
committer
Ben Pfaff
<blp@cs.stanford.edu>
Mon, 6 Sep 2004 05:45:41 +0000
(
05:45
+0000)
src/Makefile.build
patch
|
blob
|
history
diff --git
a/src/Makefile.build
b/src/Makefile.build
index 8fe960a4684204a80711d8e3fcd7e1c259dbb2c9..3886b5d0b7f279ed21afd6ad4e9c39e83aa2cfed 100644
(file)
--- 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 $@ $<