Date: Tue, 20 Feb 2024 09:13:37 -0800 Split out to highlight the actual changes. This would break things if done in the first commit, so do this as the final step. Signed-off-by: Elliott Mitchell <ehem+linux@xxxxxxx> --- --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index ef6d00addeed..74ebdd08647a 100644 --- a/Makefile +++ b/Makefile @@ -246,7 +246,7 @@ else # need-sub-make ifeq ($(abs_srctree),$(abs_objtree)) # building in the source tree - srctree := ./ + srctree := building_out_of_srctree := else ifeq ($(abs_srctree)/,$(dir $(abs_objtree))) @@ -262,7 +262,7 @@ ifneq ($(KBUILD_ABS_SRCTREE),) srctree := $(abs_srctree)/ endif -objtree := ./ +objtree := VPATH := $(srctree). export building_out_of_srctree srctree objtree VPATH -- 2.39.2