2011-07-22 01:11:35 +02:00
|
|
|
# FIXME: temporary hack: stdlib and rustrt come in the lib/ directory,
|
|
|
|
# but we want them in the base directory, so we move them out.
|
2011-07-08 01:40:58 +02:00
|
|
|
stage0/rustc$(X): $(S)src/snapshots.txt $(S)src/etc/get-snapshot.py $(MKFILES)
|
2011-05-03 20:34:44 +02:00
|
|
|
@$(call E, fetch: $@)
|
2011-05-04 00:51:21 +02:00
|
|
|
$(Q)$(S)src/etc/get-snapshot.py
|
2011-07-21 01:32:53 +02:00
|
|
|
$(Q)mv stage0/lib/$(CFG_STDLIB) stage0/$(CFG_STDLIB)
|
2011-05-04 00:51:21 +02:00
|
|
|
$(Q)touch $@
|
2011-05-01 22:18:52 +02:00
|
|
|
|
2011-07-16 01:12:41 +02:00
|
|
|
# Host libs will be made in the process of making rustc above.
|
2011-05-03 20:34:44 +02:00
|
|
|
|
2011-07-22 01:11:35 +02:00
|
|
|
stage0/$(CFG_RUNTIME): stage0/rustc$(X)
|
|
|
|
$(Q)touch $@
|
2011-05-05 03:28:30 +02:00
|
|
|
|
2011-07-21 01:32:53 +02:00
|
|
|
stage0/$(CFG_STDLIB): stage0/rustc$(X)
|
|
|
|
$(Q)touch $@
|
2011-07-11 22:31:47 +02:00
|
|
|
|
2011-07-12 00:33:17 +02:00
|
|
|
stage0/$(CFG_RUSTLLVM): stage0/rustc$(X)
|
2011-07-11 22:31:47 +02:00
|
|
|
$(Q)touch $@
|
|
|
|
|
2011-07-21 20:58:01 +02:00
|
|
|
# Instantiate template (in stageN.mk) for building
|
2011-09-23 19:50:06 +02:00
|
|
|
# target libraries.
|
|
|
|
|
2011-07-21 20:58:01 +02:00
|
|
|
SREQpre = stage0/lib/main.o $(MKFILES)
|
2011-09-23 19:50:06 +02:00
|
|
|
$(eval $(call TARGET_LIBS,pre,0,$(CFG_HOST_TRIPLE)))
|
2011-07-20 22:02:36 +02:00
|
|
|
|