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 @@ -5,7 +5,7 @@ refs/heads/snap-stage3: 78a7676898d9f80ab540c6df5d4c9ce35bb50463
5
5
refs/heads/try: 519addf6277dbafccbb4159db4b710c37eaa2ec5
6
6
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
7
7
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
8
- refs/heads/try2: 864b434bfa3fd5b3ea9e38958652ed1abdc24f1d
8
+ refs/heads/try2: 91882a4c56f16500e63f589390a170ed469edf06
9
9
refs/heads/dist-snap: ba4081a5a8573875fed17545846f6f6902c8ba8d
10
10
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
11
11
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503
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