Skip to content

Commit 099c22b

Browse files
committed
kbuild: fix empty ${PYTHON} in scripts/link-vmlinux.sh
The two commits d8d2d38 ("kbuild: remove PYTHON variable") a8cccdd ("init: lto: ensure initcall ordering") were applied in the same development cycle, into two different trees. After they were merged together, this ${PYTHON} expands to an empty string. Therefore, ${srctree}/scripts/jobserver-exec is executed directly. (it has the executable bit set) This is working but let's fix the code into the intended form. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Nick Desaulniers <ndesaulniers@google.com> Reviewed-by: Sedat Dilek <sedat.dilek@gmail.com>
1 parent b6ad541 commit 099c22b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/link-vmlinux.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ gen_initcalls()
5050
{
5151
info GEN .tmp_initcalls.lds
5252

53-
${PYTHON} ${srctree}/scripts/jobserver-exec \
53+
${PYTHON3} ${srctree}/scripts/jobserver-exec \
5454
${PERL} ${srctree}/scripts/generate_initcall_order.pl \
5555
${KBUILD_VMLINUX_OBJS} ${KBUILD_VMLINUX_LIBS} \
5656
> .tmp_initcalls.lds

0 commit comments

Comments
 (0)