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: use absolute path in the generated wrapper Makefile

Keep the consistent behavior when this Makefile is invoked from another
directory.

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

+3 -2
+3 -2
Makefile
··· 644 644 645 645 quiet_cmd_makefile = GEN Makefile 646 646 cmd_makefile = { \ 647 - echo "\# Automatically generated by $(srctree)/Makefile: don't edit"; \ 648 - echo "include $(srctree)/Makefile"; \ 647 + echo "\# Automatically generated by $(abs_srctree)/Makefile: don't edit"; \ 648 + echo "export KBUILD_OUTPUT = $(CURDIR)"; \ 649 + echo "include $(abs_srctree)/Makefile"; \ 649 650 } > Makefile 650 651 651 652 outputmakefile: