mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-26 00:34:06 +00:00
fix snap
This commit is contained in:
parent
52993f7c32
commit
865a796081
21
mk/snap.mk
21
mk/snap.mk
@ -1,9 +1,18 @@
|
|||||||
|
define DEF_SNAP_FOR_STAGE_H
|
||||||
|
# $(1) stage
|
||||||
|
# $(2) triple
|
||||||
|
|
||||||
snap-stage1: $(HSREQ1_H_$(CFG_HOST_TRIPLE))
|
snap-stage$(1)-H-$(2): $$(HSREQ$(1)_H_$(2))
|
||||||
$(S)src/etc/make-snapshot.py stage1 $(CFG_HOST_TRIPLE)
|
$(S)src/etc/make-snapshot.py stage$(1) $(2)
|
||||||
|
|
||||||
snap-stage2: $(HSREQ2_H_$(CFG_HOST_TRIPLE))
|
endef
|
||||||
$(S)src/etc/make-snapshot.py stage2 $(CFG_HOST_TRIPLE)
|
|
||||||
|
|
||||||
snap-stage3: $(HSREQ3_H_$(CFG_HOST_TRIPLE))
|
$(foreach host,$(CFG_TARGET_TRIPLES), \
|
||||||
$(S)src/etc/make-snapshot.py stage3 $(CFG_HOST_TRIPLE)
|
$(eval $(foreach stage,1 2 3, \
|
||||||
|
$(eval $(call DEF_SNAP_FOR_STAGE_H,$(stage),$(host))))))
|
||||||
|
|
||||||
|
snap-stage1: snap-stage1-H-$(CFG_HOST_TRIPLE)
|
||||||
|
|
||||||
|
snap-stage2: snap-stage2-H-$(CFG_HOST_TRIPLE)
|
||||||
|
|
||||||
|
snap-stage3: snap-stage3-H-$(CFG_HOST_TRIPLE)
|
Loading…
Reference in New Issue
Block a user