Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

kbuild: rename abs_objtree to abs_output

'objtree' refers to the top of the output directory of kernel builds.

Rename abs_objtree to a more generic name, to better reflect its use in
the context of external module builds.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Reviewed-by: Nicolas Schier <nicolas@fjasle.eu>

+5 -5
+5 -5
Makefile
··· 40 40 41 41 this-makefile := $(lastword $(MAKEFILE_LIST)) 42 42 abs_srctree := $(realpath $(dir $(this-makefile))) 43 - abs_objtree := $(CURDIR) 43 + abs_output := $(CURDIR) 44 44 45 45 ifneq ($(sub_make_done),1) 46 46 ··· 185 185 # $(realpath ...) gets empty if the path does not exist. Run 'mkdir -p' first. 186 186 $(shell mkdir -p "$(KBUILD_OUTPUT)") 187 187 # $(realpath ...) resolves symlinks 188 - abs_objtree := $(realpath $(KBUILD_OUTPUT)) 189 - $(if $(abs_objtree),,$(error failed to create output directory "$(KBUILD_OUTPUT)")) 188 + abs_output := $(realpath $(KBUILD_OUTPUT)) 189 + $(if $(abs_output),,$(error failed to create output directory "$(KBUILD_OUTPUT)")) 190 190 endif # ifneq ($(KBUILD_OUTPUT),) 191 191 192 192 ifneq ($(words $(subst :, ,$(abs_srctree))), 1) ··· 197 197 198 198 endif # sub_make_done 199 199 200 - ifeq ($(abs_objtree),$(CURDIR)) 200 + ifeq ($(abs_output),$(CURDIR)) 201 201 # Suppress "Entering directory ..." if we are at the final work directory. 202 202 no-print-directory := --no-print-directory 203 203 else ··· 221 221 222 222 # Invoke a second make in the output directory, passing relevant variables 223 223 __sub-make: 224 - $(Q)$(MAKE) $(no-print-directory) -C $(abs_objtree) \ 224 + $(Q)$(MAKE) $(no-print-directory) -C $(abs_output) \ 225 225 -f $(abs_srctree)/Makefile $(MAKECMDGOALS) 226 226 227 227 else # need-sub-make