File tree Expand file tree Collapse file tree 4 files changed +7
-8
lines changed Expand file tree Collapse file tree 4 files changed +7
-8
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ refs/heads/try3: 9387340aab40a73e8424c48fd42f0c521a4875c0
13
13
refs/tags/release-0.3.1: 495bae036dfe5ec6ceafd3312b4dca48741e845b
14
14
refs/tags/release-0.4: e828ea2080499553b97dfe33b3f4d472b4562ad7
15
15
refs/tags/release-0.5: 7e3bcfbf21278251ee936ad53e92e9b719702d73
16
- refs/heads/auto: 864b434bfa3fd5b3ea9e38958652ed1abdc24f1d
16
+ refs/heads/auto: 91882a4c56f16500e63f589390a170ed469edf06
17
17
refs/heads/servo: af82457af293e2a842ba6b7759b70288da276167
18
18
refs/tags/release-0.6: b4ebcfa1812664df5e142f0134a5faea3918544c
19
19
refs/tags/0.1: b19db808c2793fe2976759b85a355c3ad8c8b336
Original file line number Diff line number Diff line change @@ -206,9 +206,6 @@ endef
206
206
$(foreach target,$(CFG_TARGET),\
207
207
$(eval $(call DEF_X,$(target))))
208
208
209
- # Look in doc and src dirs.
210
- VPATH := $(S ) doc $(S ) src
211
-
212
209
# "Source" files we generate in builddir along the way.
213
210
GENERATED :=
214
211
Original file line number Diff line number Diff line change @@ -67,21 +67,23 @@ NATIVE_DEPS_morestack_$(1) := arch/$$(HOST_$(1))/morestack.S
67
67
68
68
RT_OUTPUT_DIR_$(1 ) := $(1 ) /rt
69
69
70
- $$(RT_OUTPUT_DIR_$(1 ) ) /%.o: rt/%.ll $$(MKFILE_DEPS ) $$(LLVM_CONFIG_$$(CFG_BUILD ) )
70
+ $$(RT_OUTPUT_DIR_$(1 ) ) /%.o: $(S ) src/rt/%.ll $$(MKFILE_DEPS ) \
71
+ $$(LLVM_CONFIG_$$(CFG_BUILD ) )
71
72
@mkdir -p $$(@D )
72
73
@$$(call E, compile: $$@ )
73
74
$$(Q )$$(LLC_$$(CFG_BUILD ) ) $$(CFG_LLC_FLAGS_$(1 ) ) \
74
75
-filetype=obj -mtriple=$(1 ) -relocation-model=pic -o $$@ $$<
75
76
76
- $$(RT_OUTPUT_DIR_$(1 ) ) /%.o: rt/%.c $$(MKFILE_DEPS )
77
+ $$(RT_OUTPUT_DIR_$(1 ) ) /%.o: $( S ) src/ rt/%.c $$(MKFILE_DEPS )
77
78
@mkdir -p $$(@D )
78
79
@$$(call E, compile: $$@ )
79
80
$$(Q )$$(call CFG_COMPILE_C_$(1 ) , $$@ , \
80
81
-I $$(S ) src/rt/sundown/src -I $$(S ) src/rt/sundown/html \
81
82
-I $$(S ) src/libuv/include -I $$(S ) src/rt \
82
83
$$(RUNTIME_CFLAGS_$(1 ) ) ) $$<
83
84
84
- $$(RT_OUTPUT_DIR_$(1 ) ) /%.o: rt/%.S $$(MKFILE_DEPS ) $$(LLVM_CONFIG_$$(CFG_BUILD ) )
85
+ $$(RT_OUTPUT_DIR_$(1 ) ) /%.o: $(S ) src/rt/%.S $$(MKFILE_DEPS ) \
86
+ $$(LLVM_CONFIG_$$(CFG_BUILD ) )
85
87
@mkdir -p $$(@D )
86
88
@$$(call E, compile: $$@ )
87
89
$$(Q )$$(call CFG_ASSEMBLE_$(1 ) ,$$@ ,$$< )
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ $$(RT_OUTPUT_DIR_$(1))/$$(call CFG_STATIC_LIB_NAME_$(1),rustllvm): \
37
37
@$$(call E, link: $$@ )
38
38
$$(Q )$$(AR_$(1 ) ) rcs $$@ $$(RUSTLLVM_OBJS_OBJS_$(1 ) )
39
39
40
- $(1 ) /rustllvm/%.o: rustllvm/%.cpp $$(MKFILE_DEPS ) $$(LLVM_CONFIG_$(1 ) )
40
+ $(1 ) /rustllvm/%.o: $( S ) src/ rustllvm/%.cpp $$(MKFILE_DEPS ) $$(LLVM_CONFIG_$(1 ) )
41
41
@$$(call E, compile: $$@ )
42
42
$$(Q )$$(call CFG_COMPILE_CXX_$(1 ) , $$@ , $$(LLVM_CXXFLAGS_$(1 ) ) $$(RUSTLLVM_INCS_$(1 ) ) ) $$<
43
43
endef
You can’t perform that action at this time.
0 commit comments