kbuild: fix empty ${PYTHON} in scripts/link-vmlinux.sh
authorMasahiro Yamada <masahiroy@kernel.org>
Tue, 29 Mar 2022 02:14:36 +0000 (11:14 +0900)
committerMasahiro Yamada <masahiroy@kernel.org>
Fri, 1 Apr 2022 15:04:42 +0000 (00:04 +0900)
commit099c22bdca406733c80f3d34ea2d2554bd15fb16
tree9b65f38071b18afe2e1f50e80927672e2e7cc1da
parentb6ad541697ea9a673b838533a7f8c45b24b0275e
kbuild: fix empty ${PYTHON} in scripts/link-vmlinux.sh

The two commits

  d8d2d38275c1 ("kbuild: remove PYTHON variable")
  a8cccdd95473 ("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>
scripts/link-vmlinux.sh