]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
kbuild: Add missing $(objtree) prefix to powerpc crtsavres.o artifact
authorKienan Stewart <kstewart@efficios.com>
Tue, 18 Feb 2025 20:26:39 +0000 (15:26 -0500)
committerMadhavan Srinivasan <maddy@linux.ibm.com>
Mon, 1 Sep 2025 08:11:57 +0000 (13:41 +0530)
commit46104a7d3ccd2acfe508e661393add0615c27a22
treea49b7f08fd8459c353c57a2f4948847aa5822a01
parent3d9c9e1da9886d91c24d97ca20c854c29212b736
kbuild: Add missing $(objtree) prefix to powerpc crtsavres.o artifact

In the upstream commit 214c0eea43b2ea66bcd6467ea57e47ce8874191b
("kbuild: add $(objtree)/ prefix to some in-kernel build artifacts")
artifacts required for building out-of-tree kernel modules had
$(objtree) prepended to them to prepare for building in other
directories.

When building external modules for powerpc,
arch/powerpc/lib/crtsavres.o is required for certain
configurations. This artifact is missing the prepended $(objtree).

Fixes: 13b25489b6f8 ("kbuild: change working directory to external module directory with M=")
Acked-by: Masahiro Yamada <masahiroy@kernel.org>
Reviewed-by: Nicolas Schier <n.schier@avm.de>
Tested-by: Nicolas Schier <n.schier@avm.de>
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
Signed-off-by: Madhavan Srinivasan <maddy@linux.ibm.com>
Link: https://patch.msgid.link/20250218-buildfix-extmod-powerpc-v2-1-1e78fcf12b56@efficios.com
arch/powerpc/Makefile