projects
/
pintos-anon
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8f4fbcd
)
Nicer way to generate kernel.lds.s.
author
Ben Pfaff
<blp@cs.stanford.edu>
Sun, 5 Sep 2004 16:34:36 +0000
(16:34 +0000)
committer
Ben Pfaff
<blp@cs.stanford.edu>
Sun, 5 Sep 2004 16:34:36 +0000
(16:34 +0000)
src/Makefile.inc
patch
|
blob
|
history
diff --git
a/src/Makefile.inc
b/src/Makefile.inc
index 885c6bba53ccefb1fa7d464ca75e459f9cd5bfb2..df6b01046a306f9efb4e20fd60d0819df8009ca0 100644
(file)
--- a/
src/Makefile.inc
+++ b/
src/Makefile.inc
@@
-63,8
+63,8
@@
all: diskimage.bin
intr-stubs.S: $(TOP_SRCDIR)/threads/intr-stubs.pl $(TOP_SRCDIR)/threads/loader.h
$< > $@
+kernel.lds.s: CPPFLAGS += -P -C
kernel.lds.s: $(TOP_SRCDIR)/threads/kernel.lds.S $(TOP_SRCDIR)/threads/loader.h
- $(CPP) -x assembler-with-cpp -P $< -o $@
kernel.o: $(OBJECTS) kernel.lds.s
ld -T kernel.lds.s -o $@ $(OBJECTS) `$(CC) -print-libgcc-file-name`