Skip to content

Commit 8c241e4

Browse files
committed
---
yaml --- r: 6507 b: refs/heads/master c: 5ce33ce h: refs/heads/master i: 6505: 83390cd 6503: 0a28513 v: v3
1 parent dde4ea6 commit 8c241e4

File tree

3 files changed

+24
-26
lines changed

3 files changed

+24
-26
lines changed

[refs]

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
---
2-
refs/heads/master: 865a796081e9db596d3157233e2bb848d84a5d81
2+
refs/heads/master: 5ce33ceb7665c7a3366f05a50360d78bc4f65a66

trunk/Makefile.in

+9-11
Original file line numberDiff line numberDiff line change
@@ -49,20 +49,18 @@ STAGES = 0 1 2 3
4949
######################################################################
5050

5151
include config.mk
52-
OUR_MKFILES := Makefile config.mk $(wildcard $(CFG_SRC_DIR)/mk/*.mk)
53-
3RDPARTY_MKFILES := $(CFG_SRC_DIR)/src/libuv/Makefile \
54-
$(wildcard $(CFG_SRC_DIR)/src/libuv/*.mk)
55-
GEN_MKFILES := $(wildcard $(CFG_SRC_DIR)/mk/libuv/*/*/*) \
56-
$(wildcard $(CFG_SRC_DIR)/mk/libuv/mac/src/libuv/*) \
57-
$(wildcard $(CFG_SRC_DIR)/mk/libuv/mac/src/libuv/*) \
58-
$(wildcard $(CFG_SRC_DIR)/mk/libuv/mac/src/libuv/*)
59-
60-
MKFILES := $(OUR_MKFILES) $(3RDPARTY_MKFILES) $(GEN_MKFILES)
6152

6253
ifdef IGNORE_MKFILES
6354
MKFILE_DEPS :=
6455
else
65-
MKFILE_DEPS := $(MKFILES)
56+
OUR_MKFILES := Makefile config.mk $(wildcard $(CFG_SRC_DIR)/mk/*.mk)
57+
3RDPARTY_MKFILES := $(CFG_SRC_DIR)/src/libuv/Makefile \
58+
$(wildcard $(CFG_SRC_DIR)/src/libuv/*.mk)
59+
GEN_MKFILES := $(wildcard $(CFG_SRC_DIR)/mk/libuv/*/*/*) \
60+
$(wildcard $(CFG_SRC_DIR)/mk/libuv/mac/src/libuv/*) \
61+
$(wildcard $(CFG_SRC_DIR)/mk/libuv/mac/src/libuv/*) \
62+
$(wildcard $(CFG_SRC_DIR)/mk/libuv/mac/src/libuv/*)
63+
MKFILE_DEPS := $(OUR_MKFILES) $(3RDPARTY_MKFILES) $(GEN_MKFILES)
6664
endif
6765

6866
NON_HOST_TRIPLES = $(filter-out $(CFG_HOST_TRIPLE),$(CFG_TARGET_TRIPLES))
@@ -286,7 +284,7 @@ HSREQ$(1)_H_$(3) = \
286284
$$(HLIB$(1)_H_$(3))/$$(CFG_RUNTIME) \
287285
$$(HLIB$(1)_H_$(3))/$$(CFG_RUSTLLVM) \
288286
$$(HSTDLIB_DEFAULT$(1)_H_$(3)) \
289-
$$(MKFILES)
287+
$$(MKFILE_DEPS)
290288

291289
# Prerequisites for using the stageN compiler to build target artifacts
292290
TSREQ$(1)_T_$(2)_H_$(3) = \

trunk/mk/install.mk

+14-14
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
ifdef VERBOSE
88
INSTALL = cp $(1)/$(3) $(2)/$(3)
99
else
10-
INSTALL = @$(call E, install: $(2)/$(3)) && cp $(1)/$(3) $(2)/$(3)
10+
INSTALL = $(Q)$(call E, install: $(2)/$(3)) && cp $(1)/$(3) $(2)/$(3)
1111
endif
1212

1313
# The stage we install from
@@ -22,20 +22,20 @@ define INSTALL_TARGET_N
2222
# $(2) is the host triple
2323

2424
# T{B,L} == Target {Bin, Lib} for stage ${ISTAGE}
25-
TB$(1)_H_$(2) = $$(TBIN$$(ISTAGE)_T_$(1)_H_$(2))
26-
TL$(1)_H_$(2) = $$(TLIB$$(ISTAGE))_T_$(1)_H_$(2))
25+
TB$(1)$(2) = $$(TBIN$$(ISTAGE)_T_$(1)_H_$(2))
26+
TL$(1)$(2) = $$(TLIB$$(ISTAGE)_T_$(1)_H_$(2))
2727

2828
# PT{R,B,L} == Prefix Target {Root, Bin, Lib}
29-
PTR_T_$(1)_H_$(2) = $$(PREFIX_LIB)/rustc/$(1)
30-
PTB_T_$(1)_H_$(2) = $$(PTR_T_$(1)_H_$(2))/bin
31-
PTL_T_$(1)_H_$(2) = $$(PTR_T_$(1)_H_$(2))/lib
29+
PTR$(1)$(2) = $$(PREFIX_LIB)/rustc/$(1)
30+
PTB$(1)$(2) = $$(PTR$(1)$(2))/bin
31+
PTL$(1)$(2) = $$(PTR$(1)$(2))/lib
3232

3333
install-target-$(1)-host-$(2): $$(SREQ$$(ISTAGE)_T_$(1)_H_$(2))
34-
$(Q)mkdir -p $$(PTL_$(1)_H_$(2))
35-
$(Q)$(call INSTALL,$$(TL$(1)_H_$(2)),$$(PTL$(1)_H_$(2)),$$(CFG_RUNTIME))
36-
$(Q)$(call INSTALL,$$(TL$(1)_H_$(2)),$$(PTL$(1)_H_$(2)),$$(CFG_STDLIB))
37-
$(Q)$(call INSTALL,$$(TL$(1)_H_$(2)),$$(PTL$(1)_H_$(2)),intrinsics.bc)
38-
$(Q)$(call INSTALL,$$(TL$(1)_H_$(2)),$$(PTL$(1)_H_$(2)),libmorestack.a)
34+
$$(Q)mkdir -p $$(PTL$(1)$(2))
35+
$$(Q)$$(call INSTALL,$$(TL$(1)$(2)),$$(PTL$(1)$(2)),$$(CFG_RUNTIME))
36+
$$(Q)$$(call INSTALL,$$(TL$(1)$(2)),$$(PTL$(1)$(2)),$$(CFG_STDLIB))
37+
$$(Q)$$(call INSTALL,$$(TL$(1)$(2)),$$(PTL$(1)$(2)),intrinsics.bc)
38+
$$(Q)$$(call INSTALL,$$(TL$(1)$(2)),$$(PTL$(1)$(2)),libmorestack.a)
3939
endef
4040

4141
$(foreach target,$(CFG_TARGET_TRIPLES), \
@@ -47,15 +47,15 @@ INSTALL_TARGET_RULES = $(foreach target,$(CFG_TARGET_TRIPLES), \
4747
install: install-host install-targets
4848

4949
# Shorthand for build/stageN/bin
50-
HB = $(HBIN$(ISTAGE)_H_$(HT))
50+
HB = $(HBIN$(ISTAGE)_H_$(CFG_HOST_TRIPLE))
5151
# Shorthand for build/stageN/lib
52-
HL = $(HLIB$(ISTAGE)_H_$(HT))
52+
HL = $(HLIB$(ISTAGE)_H_$(CFG_HOST_TRIPLE))
5353
# Shorthand for the prefix bin directory
5454
PHB = $(PREFIX_BIN)
5555
# Shorthand for the prefix bin directory
5656
PHL = $(PREFIX_LIB)
5757

58-
install-host: $(SREQ$(ISTAGE)$(CFG_HOST_TRIPLE))
58+
install-host: $(SREQ$(ISTAGE)_T_$(CFG_HOST_TRIPLE)_H_$(CFG_HOST_TRIPLE))
5959
$(Q)mkdir -p $(PREFIX_BIN)
6060
$(Q)mkdir -p $(PREFIX_LIB)
6161
$(Q)mkdir -p $(PREFIX_ROOT)/share/man/man1

0 commit comments

Comments
 (0)