make convenient rustc targets
This commit is contained in:
parent
9acc2bfcad
commit
3bbfe515df
22
Makefile.in
22
Makefile.in
|
@ -324,6 +324,25 @@ $(foreach build,$(CFG_TARGET_TRIPLES), \
|
||||||
$(eval $(foreach stage,$(STAGES), \
|
$(eval $(foreach stage,$(STAGES), \
|
||||||
$(eval $(call SREQ,$(stage),$(target),$(build))))))))
|
$(eval $(call SREQ,$(stage),$(target),$(build))))))))
|
||||||
|
|
||||||
|
######################################################################
|
||||||
|
# rustc-H-targets
|
||||||
|
#
|
||||||
|
# Builds a functional Rustc for the given host.
|
||||||
|
######################################################################
|
||||||
|
|
||||||
|
define DEF_RUSTC_TARGET
|
||||||
|
# $(1) == architecture
|
||||||
|
|
||||||
|
rustc-H-$(1): \
|
||||||
|
$$(foreach target,$$(CFG_TARGET_TRIPLES), \
|
||||||
|
$$(SREQ3_T_$$(target)_H_$(1)))
|
||||||
|
endef
|
||||||
|
|
||||||
|
$(foreach host,$(CFG_TARGET_TRIPLES), \
|
||||||
|
$(eval $(call DEF_RUSTC_TARGET,$(host))))
|
||||||
|
|
||||||
|
all-rustcs: $(foreach host,$(CFG_TARGET_TRIPLES),rustc-H-$(host))
|
||||||
|
|
||||||
######################################################################
|
######################################################################
|
||||||
# Entrypoint rule
|
# Entrypoint rule
|
||||||
######################################################################
|
######################################################################
|
||||||
|
@ -345,8 +364,7 @@ TSREQS := \
|
||||||
FUZZ := $(HBIN3_H_$(CFG_HOST_TRIPLE))/fuzzer$(X)
|
FUZZ := $(HBIN3_H_$(CFG_HOST_TRIPLE))/fuzzer$(X)
|
||||||
CARGO := $(HBIN3_H_$(CFG_HOST_TRIPLE))/cargo$(X)
|
CARGO := $(HBIN3_H_$(CFG_HOST_TRIPLE))/cargo$(X)
|
||||||
|
|
||||||
#all: $(SREQ3$(CFG_HOST_TRIPLE)) $(GENERATED) $(DOCS) $(FUZZ)
|
all: rustc-H-$(CFG_HOST_TRIPLE) $(GENERATED) $(DOCS) $(FUZZ) $(CARGO)
|
||||||
all: $(TSREQS) $(GENERATED) $(DOCS) $(FUZZ) $(CARGO)
|
|
||||||
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue