aboutsummaryrefslogtreecommitdiff
path: root/mk/stage0.mk
diff options
context:
space:
mode:
authorGraydon Hoare <[email protected]>2011-05-03 11:34:44 -0700
committerGraydon Hoare <[email protected]>2011-05-03 11:34:44 -0700
commitdbe5dc97687a1d7dd1aaa552c8b84c22765a0e9f (patch)
treefb2a0d38e8892343ddc0dd68f1c5f3d1c902082a /mk/stage0.mk
parentSmall fixes to snapshot script. (diff)
downloadrust-dbe5dc97687a1d7dd1aaa552c8b84c22765a0e9f.tar.xz
rust-dbe5dc97687a1d7dd1aaa552c8b84c22765a0e9f.zip
Attempt to shift build to stage0-from-snapshots.
Diffstat (limited to 'mk/stage0.mk')
-rw-r--r--mk/stage0.mk16
1 files changed, 8 insertions, 8 deletions
diff --git a/mk/stage0.mk b/mk/stage0.mk
index decf742b..c41cddaf 100644
--- a/mk/stage0.mk
+++ b/mk/stage0.mk
@@ -1,9 +1,9 @@
-stage0/$(CFG_STDLIB): $(STDLIB_CRATE) $(STDLIB_INPUTS) \
- boot/rustboot$(X) $(MKFILES)
- @$(call E, compile: $@)
- $(BOOT) -shared -o $@ $<
+stage0/rustc$(X): $(S)src/snapshots.txt $(S)src/etc/get-snapshot.py $(MKFILES)
+ @$(call E, fetch: $@)
+ $(S)src/etc/get-snapshot.py
-stage0/rustc$(X): $(COMPILER_CRATE) $(COMPILER_INPUTS) $(BREQ)
- @$(call E, compile: $@)
- $(BOOT) -minimal -o $@ $<
- $(Q)chmod 0755 $@
+# These two will be made in the process of making rustc above.
+
+stage0/glue.o: stage0/rustc$(X)
+
+stage0/$(CFG_STDLIB): stage0/rustc$(X)