$(objtree) refers to the top of the output directory of kernel builds. This commit adds the explicit $(objtree)/ prefix to build artifacts needed for building external modules. This change has no immediate impact, as the top-level Makefile currently defines: objtree := . This commit prepares for supporting the building of external modules in a different directory. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Nicolas Schier <nicolas@fjasle.eu> [ Applied same resolution as Linus to arch/powerpc/Makefile, resolved $(objtree) additions where $(mixed-build-prefix) was present in favor of $(mixed-build-prefix) - Matthew Maurer ] (cherry picked from commit 214c0eea43b2ea66bcd6467ea57e47ce8874191b https://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild.git kbuild) Change-Id: I384feae14230165e4077df18b165f6df13f6cc79 Bug: 347787665 Signed-off-by: Matthew Maurer <mmaurer@google.com>
9.9 KiB
9.9 KiB