Skip to content

Commit d4ae1ca

Browse files
committed
rt: Build the stage0 runtime for non-hosts from the working dir
1 parent 7e89743 commit d4ae1ca

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

mk/target.mk

+5
Original file line numberDiff line numberDiff line change
@@ -103,3 +103,8 @@ $(foreach source,$(CFG_TARGET_TRIPLES), \
103103
$(eval $(call TARGET_RT_FROM_WD,1,$(target),$(source))) \
104104
$(eval $(call TARGET_RT_FROM_WD,2,$(target),$(source))) \
105105
$(eval $(call TARGET_RT_FROM_WD,3,$(target),$(source)))))
106+
107+
# Non-host triples build the stage0 runtime from the working directory
108+
$(foreach source,$(CFG_TARGET_TRIPLES), \
109+
$(foreach target,$(NON_HOST_TRIPLES), \
110+
$(eval $(call TARGET_RT_FROM_WD,0,$(target),$(source)))))

0 commit comments

Comments
 (0)