Files
ack-tegra/scripts/Makefile.modfinal
Masahiro Yamada b0c7496af3 BACKPORT: FROMGIT: kbuild: add $(objtree)/ prefix to some in-kernel build artifacts
$(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>
2025-01-14 00:20:38 -08:00

3.2 KiB