Skip to content

Commit 9baa230

Browse files
committed
---
yaml --- r: 37601 b: refs/heads/try c: e4c0fad h: refs/heads/master i: 37599: 27df47f v: v3
1 parent 482e6a3 commit 9baa230

File tree

2 files changed

+15
-4
lines changed

2 files changed

+15
-4
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
refs/heads/master: 09bb07bed9166105ea961a42b5fff7739ae0d2e9
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: eb8fd119c65c67f3b1b8268cc7341c22d39b7b61
5-
refs/heads/try: 2fd2a56063637c4051ee95cf5cb49c629b900aa7
5+
refs/heads/try: e4c0fad28f0c6c3cb7c147c08414edeb2224b5d5
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
88
refs/heads/try2: a810c03263670238bccd64cabb12a23a46e3a278

branches/try/Makefile.in

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -351,13 +351,13 @@ TSREQ$(1)_T_$(2)_H_$(3) = \
351351
$$(TLIB$(1)_T_$(2)_H_$(3))/$$(CFG_RUNTIME) \
352352
$$(TLIB$(1)_T_$(2)_H_$(3))/libmorestack.a
353353

354-
# Prerequisites for a working stageN compiler and libraries
354+
# Prerequisites for a working stageN compiler and libraries, for a specific target
355355
SREQ$(1)_T_$(2)_H_$(3) = \
356356
$$(TSREQ$(1)_T_$(2)_H_$(3)) \
357357
$$(TLIB$(1)_T_$(2)_H_$(3))/$$(CFG_CORELIB) \
358358
$$(TLIB$(1)_T_$(2)_H_$(3))/$$(CFG_STDLIB)
359359

360-
# Prerequisites for a working stageN compiler and libraries
360+
# Prerequisites for a working stageN compiler and libraries, for a specific target
361361
CSREQ$(1)_T_$(2)_H_$(3) = \
362362
$$(TSREQ$(1)_T_$(2)_H_$(3)) \
363363
$$(HBIN$(1)_H_$(3))/fuzzer$$(X) \
@@ -472,11 +472,22 @@ CFG_INFO := $(info cfg: *** compiler is in snapshot transition ***)
472472
CFG_INFO := $(info cfg: *** stage2 and later will not be built ***)
473473
CFG_INFO := $(info cfg:)
474474

475+
#XXX This is surely busted
475476
all: $(SREQ1$(CFG_HOST_TRIPLE)) $(GENERATED) docs
476477

477478
else
478479

479-
all: $(CSREQ3$(CFG_HOST_TRIPLE)) $(GENERATED) docs
480+
define ALL_TARGET_N
481+
all-target-$(1)-host-$(2): $$(CSREQ2_T_$(1)_H_$(2))
482+
endef
483+
484+
$(foreach target,$(CFG_TARGET_TRIPLES), \
485+
$(eval $(call ALL_TARGET_N,$(target),$(CFG_HOST_TRIPLE))))
486+
487+
ALL_TARGET_RULES = $(foreach target,$(CFG_TARGET_TRIPLES), \
488+
all-target-$(target)-host-$(CFG_HOST_TRIPLE))
489+
490+
all: $(ALL_TARGET_RULES) $(GENERATED) docs
480491

481492
endif
482493

0 commit comments

Comments
 (0)