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 -L$(objtree)/$(obj) --extern alloc --extern kernel \
180 --test-builder $(objtree)/scripts/rustdoc_test_builder \
182 $(objtree)/scripts/rustdoc_test_gen
186 $(objtree)/scripts/rustdoc_test_builder \
187 $(objtree)/scripts/rustdoc_test_gen FORCE
194 OBJTREE=$(abspath $(objtree)) \
196 @$(objtree)/include/generated/rustc_cfg \
197 $(rustc_target_flags) --out-dir $(objtree)/$(obj)/test \
198 --sysroot $(objtree)/$(obj)/test/sysroot \
199 -L$(objtree)/$(obj)/test \
201 $(objtree)/$(obj)/test/$(subst rusttest-,,$@) $(rust_test_quiet) \
235 rm -rf $(objtree)/$(obj)/test; \
236 mkdir -p $(objtree)/$(obj)/test; \
237 cp -a $(rustc_sysroot) $(objtree)/$(obj)/test/sysroot; \
239 $(objtree)/$(obj)/test/sysroot/lib/rustlib/src/rust/library/alloc/src; \
240 echo '\#!/bin/sh' > $(objtree)/$(obj)/test/rustc_sysroot; \
242 >> $(objtree)/$(obj)/test/rustc_sysroot; \
243 chmod u+x $(objtree)/$(obj)/test/rustc_sysroot; \
244 $(CARGO) -q new $(objtree)/$(obj)/test/dummy; \
245 RUSTC=$(objtree)/$(obj)/test/rustc_sysroot $(CARGO) $(cargo_quiet) \
247 --manifest-path $(objtree)/$(obj)/test/dummy/Cargo.toml; \
248 rm $(objtree)/$(obj)/test/sysroot/lib/rustlib/$(rustc_host_target)/lib/*; \
249 cp $(objtree)/$(obj)/test/dummy/target/$(rustc_host_target)/debug/deps/* \
250 $(objtree)/$(obj)/test/sysroot/lib/rustlib/$(rustc_host_target)/lib
357 -I$(objtree)/$(obj) -Wno-missing-prototypes -Wno-missing-declarations
395 OBJTREE=$(abspath $(objtree)) \
400 --crate-type rlib -L$(objtree)/$(obj) \
409 $(if $(KBUILD_EXTMOD),$(extmod_prefix),$(objtree))/rust-project.json