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: replace two $(abs_objtree) with $(CURDIR) in top Makefile

Kbuild changes the working directory until it matches $(abs_objtree).

When $(need-sub-make) is empty, $(abs_objtree) is the same as $(CURDIR).

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Reviewed-by: Nicolas Schier <n.schier@avm.de>

+2 -2
+2 -2
Makefile
··· 228 228 229 229 # We process the rest of the Makefile if this is the final invocation of make 230 230 231 - ifeq ($(abs_srctree),$(abs_objtree)) 231 + ifeq ($(abs_srctree),$(CURDIR)) 232 232 # building in the source tree 233 233 srctree := . 234 234 building_out_of_srctree := 235 235 else 236 - ifeq ($(abs_srctree)/,$(dir $(abs_objtree))) 236 + ifeq ($(abs_srctree)/,$(dir $(CURDIR))) 237 237 # building in a subdirectory of the source tree 238 238 srctree := .. 239 239 else