2c234fdc97
Once we've updated the snapshots to include them we can remove these rules
30 lines
784 B
Makefile
30 lines
784 B
Makefile
# 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 $@
|
|
|
|
# These two will be made in the process of making rustc above.
|
|
|
|
stage0/glue.o: stage0/rustc$(X)
|
|
$(Q)touch $@
|
|
|
|
stage0/lib/$(CFG_STDLIB): stage0/rustc$(X)
|
|
$(Q)touch $@
|
|
|
|
# TODO: Include as part of the snapshot.
|
|
stage0/intrinsics.bc: $(INTRINSICS_BC)
|
|
@$(call E, cp: $@)
|
|
$(Q)cp $< $@
|
|
|