Skip to content

Commit

Permalink
kbuild: fix empty ${PYTHON} in scripts/link-vmlinux.sh
Browse files Browse the repository at this point in the history
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 <[email protected]>
Reviewed-by: Nick Desaulniers <[email protected]>
Reviewed-by: Sedat Dilek <[email protected]>
  • Loading branch information
masahir0y committed Apr 1, 2022
1 parent b6ad541 commit 099c22b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/link-vmlinux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ gen_initcalls()
{
info GEN .tmp_initcalls.lds

${PYTHON} ${srctree}/scripts/jobserver-exec \
${PYTHON3} ${srctree}/scripts/jobserver-exec \
${PERL} ${srctree}/scripts/generate_initcall_order.pl \
${KBUILD_VMLINUX_OBJS} ${KBUILD_VMLINUX_LIBS} \
> .tmp_initcalls.lds
Expand Down

0 comments on commit 099c22b

Please sign in to comment.