File tree Expand file tree Collapse file tree 2 files changed +12
-1
lines changed Expand file tree Collapse file tree 2 files changed +12
-1
lines changed Original file line number Diff line number Diff line change 1
1
---
2
- refs/heads/master: 28051a8e3df134d6cdec035df2672d99ec14beba
2
+ refs/heads/master: d611067d7f769f5689a54e39438eecf452481ad1
Original file line number Diff line number Diff line change
1
+ # FIXME: Docs are currently not installed from the stageN dirs.
2
+ # For consistency it might be desirable for stageN to be an exact
3
+ # mirror of the installation directory structure.
4
+
5
+ # Installation macro. Call with source directory as arg 1,
6
+ # destination directory as arg 2, and filename as arg 3
1
7
ifdef VERBOSE
2
8
INSTALL = cp $(1 ) /$(3 ) $(2 ) /$(3 )
3
9
else
@@ -11,9 +17,13 @@ PREFIX_ROOT = $(CFG_PREFIX)
11
17
PREFIX_BIN = $(PREFIX_ROOT ) /bin
12
18
PREFIX_LIB = $(PREFIX_ROOT ) /lib
13
19
20
+ # Shorthand for build/stageN/bin
14
21
HB = $(HOST_BIN$(ISTAGE ) )
22
+ # Shorthand for build/stageN/lib
15
23
HL = $(HOST_LIB$(ISTAGE ) )
24
+ # Shorthand for the prefix bin directory
16
25
PHB = $(PREFIX_BIN )
26
+ # Shorthand for the prefix bin directory
17
27
PHL = $(PREFIX_LIB )
18
28
19
29
define INSTALL_TARGET_N
@@ -22,6 +32,7 @@ PREFIX_TARGET_ROOT$(1) = $$(PREFIX_LIB)/rustc/$(1)
22
32
PREFIX_TARGET_BIN$(1 ) = $$(PREFIX_TARGET_ROOT$(1 ) ) /bin
23
33
PREFIX_TARGET_LIB$(1 ) = $$(PREFIX_TARGET_ROOT$(1 ) ) /lib
24
34
35
+ # Similar to the H* macros above but for each target triple
25
36
TB$(1 ) = $$(TARGET_BIN$$(ISTAGE )$(1 ) )
26
37
TL$(1 ) = $$(TARGET_LIB$$(ISTAGE )$(1 ) )
27
38
PTB$(1 ) = $$(PREFIX_TARGET_BIN$(1 ) )
You can’t perform that action at this time.
0 commit comments