From 2c234fdc97414990006d26f76f598814f95fc147 Mon Sep 17 00:00:00 2001 From: Brian Anderson Date: Thu, 7 Jul 2011 15:08:31 -0700 Subject: [PATCH] Also copy rt and rustllvm to stage0 for now Once we've updated the snapshots to include them we can remove these rules --- mk/stage0.mk | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/mk/stage0.mk b/mk/stage0.mk index b785e8bc0b8..7872b6e0658 100644 --- a/mk/stage0.mk +++ b/mk/stage0.mk @@ -1,4 +1,15 @@ -stage0/rustc$(X): $(S)src/snapshots.txt $(S)src/etc/get-snapshot.py $(MKFILES) +# FIXME: Copying rt and rustllvm to stage0 is transitional until the snapshot +# that begins including them +stage0/lib/$(CFG_RUNTIME): rt/$(CFG_RUNTIME) + @$(call E, cp: $@) + $(Q)cp $< $@ + +stage0/lib/$(CFG_RUSTLLVM): rustllvm/$(CFG_RUSTLLVM) + @$(call E, cp: $@) + $(Q)cp $< $@ + +stage0/rustc$(X): $(S)src/snapshots.txt $(S)src/etc/get-snapshot.py $(MKFILES) \ + stage0/lib/$(CFG_RUNTIME) stage0/lib/$(CFG_RUSTLLVM) @$(call E, fetch: $@) $(Q)$(S)src/etc/get-snapshot.py $(Q)touch $@