comedi: kbuild: use interpreters to invoke scripts
RFC PATCH 1/1 comedi: kbuild: use interpreters to invoke scripts
We cannot rely on execute bits to be set on files in the repository. The build script should use the explicit interpreter when invoking any script from the repository.
Suggested-by Andrew Morton <[email protected]>
Suggested-by Kees Cook <[email protected]>
Suggested-by Lukas Bulwahn <[email protected]>
Signed-off-by Ujjwal Kumar <[email protected]>
--- drivers/staging/comedi/drivers/ni_routing/tools/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
drivers/staging/comedi/drivers/ni_routing/tools/Makefile +3 -3
@@ -42,14 +42,14 @@ ni_values.py: convert_c_to_py ./convert_c_to_py csv-files : ni_values.py comedi_h.py - ./convert_py_to_csv.py + $(PYTHON3) ./convert_py_to_csv.py csv-blank : - ./make_blank_csv.py + $(PYTHON3) ./make_blank_csv.py @echo New blank csv signal table in csv/blank_route_table.csv c-files : comedi_h.py - ./convert_csv_to_c.py --route_values --device_routes + $(PYTHON3) ./convert_csv_to_c.py --route_values --device_routes ROUTE_VALUES_SRC=$(wildcard ../ni_route_values/*.c) DEVICE_ROUTES_SRC=$(wildcard ../ni_device_routes/*.c)
Signature · 6 lines
2.26.2 _______________________________________________ Linux-kernel-mentees mailing list [email protected] https://lists.linuxfoundation.org/mailman/listinfo/linux-kernel-mentees