Lines Matching refs:srcroot
198 srcroot := $(realpath $(KBUILD_EXTMOD)) macro
199 $(if $(srcroot),,$(error specified external module directory "$(KBUILD_EXTMOD)" does not exist))
205 export objtree srcroot
256 srcroot := $(abs_srctree) macro
259 ifeq ($(srcroot),$(CURDIR))
267 else ifeq ($(srcroot),$(CURDIR))
269 srcroot := . macro
270 else ifeq ($(srcroot)/,$(dir $(CURDIR)))
272 srcroot := .. macro
275 export srctree := $(if $(KBUILD_EXTMOD),$(abs_srctree),$(srcroot))
278 export VPATH := $(srcroot)
699 @if [ -f $(srcroot)/modules.order ]; then \
707 $(Q)ln -fsn $(srcroot) source
1116 KBUILD_CPPFLAGS += -fmacro-prefix-map=$(srcroot)/=
1118 KBUILD_RUSTFLAGS += --remap-path-prefix=$(srcroot)/= --remap-path-scope=macro