Lines Matching refs:srcroot
198 srcroot := $(realpath $(KBUILD_EXTMOD))
199 $(if $(srcroot),,$(error specified external module directory "$(KBUILD_EXTMOD)" does not exist))
205 export objtree srcroot
256 srcroot := $(abs_srctree)
259 ifeq ($(srcroot),$(CURDIR))
267 else ifeq ($(srcroot),$(CURDIR))
269 srcroot := .
270 else ifeq ($(srcroot)/,$(dir $(CURDIR)))
272 srcroot := ..
275 export srctree := $(if $(KBUILD_EXTMOD),$(abs_srctree),$(srcroot))
278 export VPATH := $(srcroot)
669 echo "export KBUILD_EXTMOD = $(realpath $(srcroot))" ; \
695 @if [ -f $(srcroot)/modules.order ]; then \
698 echo >&2 "*** Please run 'make -C $(abs_srctree) M=$(realpath $(srcroot)) clean'"; \
703 $(Q)ln -fsn $(srcroot) source
1105 KBUILD_CPPFLAGS += $(call cc-option,-fmacro-prefix-map=$(srcroot)/=)