Lines Matching refs:objtree
4 rustdoc_output := $(objtree)/Documentation/output/rust/rustdoc
76 OBJTREE=$(abspath $(objtree)) \
78 $(rustc_target_flags) -L$(objtree)/$(obj) \
81 @$(objtree)/include/generated/rustc_cfg $<
128 --extern build_error --extern macros=$(objtree)/$(obj)/libmacros.so \
137 OBJTREE=$(abspath $(objtree)) \
139 @$(objtree)/include/generated/rustc_cfg $(rustc_target_flags) \
141 --out-dir $(objtree)/$(obj)/test --cfg testlib \
142 --sysroot $(objtree)/$(obj)/test/sysroot \
143 -L$(objtree)/$(obj)/test \
162 OBJTREE=$(abspath $(objtree)) \
164 @$(objtree)/include/generated/rustc_cfg \
166 --sysroot $(objtree)/$(obj)/test/sysroot $(rustdoc_test_quiet) \
167 -L$(objtree)/$(obj)/test --output $(rustdoc_output) \
172 rm -rf $(objtree)/$(obj)/test/doctests/kernel; \
173 mkdir -p $(objtree)/$(obj)/test/doctests/kernel; \
174 OBJTREE=$(abspath $(objtree)) \
176 @$(objtree)/include/generated/rustc_cfg \
177 -L$(objtree)/$(obj) --extern alloc --extern kernel \
181 --test-builder $(objtree)/scripts/rustdoc_test_builder \
183 $(objtree)/scripts/rustdoc_test_gen
187 $(objtree)/scripts/rustdoc_test_builder \
188 $(objtree)/scripts/rustdoc_test_gen FORCE
195 OBJTREE=$(abspath $(objtree)) \
197 @$(objtree)/include/generated/rustc_cfg \
198 $(rustc_target_flags) --out-dir $(objtree)/$(obj)/test \
199 --sysroot $(objtree)/$(obj)/test/sysroot \
200 -L$(objtree)/$(obj)/test \
202 $(objtree)/$(obj)/test/$(subst rusttest-,,$@) $(rust_test_quiet) \
236 rm -rf $(objtree)/$(obj)/test; \
237 mkdir -p $(objtree)/$(obj)/test; \
238 cp -a $(rustc_sysroot) $(objtree)/$(obj)/test/sysroot; \
240 $(objtree)/$(obj)/test/sysroot/lib/rustlib/src/rust/library/alloc/src; \
241 echo '\#!/bin/sh' > $(objtree)/$(obj)/test/rustc_sysroot; \
243 >> $(objtree)/$(obj)/test/rustc_sysroot; \
244 chmod u+x $(objtree)/$(obj)/test/rustc_sysroot; \
245 $(CARGO) -q new $(objtree)/$(obj)/test/dummy; \
246 RUSTC=$(objtree)/$(obj)/test/rustc_sysroot $(CARGO) $(cargo_quiet) \
248 --manifest-path $(objtree)/$(obj)/test/dummy/Cargo.toml; \
249 rm $(objtree)/$(obj)/test/sysroot/lib/rustlib/$(rustc_host_target)/lib/*; \
250 cp $(objtree)/$(obj)/test/dummy/target/$(rustc_host_target)/debug/deps/* \
251 $(objtree)/$(obj)/test/sysroot/lib/rustlib/$(rustc_host_target)/lib
358 -I$(objtree)/$(obj) -Wno-missing-prototypes -Wno-missing-declarations
398 OBJTREE=$(abspath $(objtree)) \
403 --crate-type rlib -L$(objtree)/$(obj) \
412 $(if $(KBUILD_EXTMOD),$(extmod_prefix),$(objtree))/rust-project.json