]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
host-tools: use python2 explicitly for shebang
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Sun, 21 Jan 2018 09:34:57 +0000 (18:34 +0900)
committerTom Rini <trini@konsulko.com>
Sun, 28 Jan 2018 17:27:30 +0000 (12:27 -0500)
All of these host tools are apparently written for Python2,
not Python3.

Use 'python2' in the shebang line according to PEP 394
(https://www.python.org/dev/peps/pep-0394/).

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
scripts/dtc/pylibfdt/setup.py
scripts/mailmapper
test/py/test.py
tools/buildman/buildman.py
tools/dtoc/dtoc.py
tools/microcode-tool.py
tools/patman/patman.py
tools/rkmux.py

index daf1089425ddbb84daf46fd7b113d4447f359185..4f7cf042bfe74380a36c040da4969da3ea1e9870 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2
 
 """
 setup.py file for SWIG libfdt
index 922ada6f5fb2ad7f251ce2cb09370b1a04591387..78b23d152d999e31da60e30d5602a18eae99695b 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2
 #
 # Copyright (C) 2014, Masahiro Yamada <yamada.m@jp.panasonic.com>
 #
index 74e560a4d33abb9cbffaa071b8fbb50a00098d77..4695079ef715699e9f3b718b1d10d170255d9125 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2
 
 # Copyright (c) 2015 Stephen Warren
 # Copyright (c) 2015-2016, NVIDIA CORPORATION. All rights reserved.
index 11a4f162c5f13026d3a85f28be6d940cb42319a9..473117ccff7f4ef427f932c10065444654a2a108 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2
 #
 # Copyright (c) 2012 The Chromium OS Authors.
 #
index ce7bc054e5e8c3da88bafb610f16356586d6b07d..6eacfc90a0a7bb28bbe25eef95aa8dba7232cf29 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python2
 #
 # Copyright (C) 2016 Google, Inc
 # Written by Simon Glass <sjg@chromium.org>
index 790c27e45987e197ed450469d6e3791ee48c8be2..069d961d80d00430b03ceba2e6f89edc50499fdd 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2
 #
 # Copyright (c) 2014 Google, Inc
 #
index 4b3bc787453ec30422adc4372ae2b37f01593a5b..7647440be5e9a5b2235d6727ab0e5002b8d27598 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2
 #
 # Copyright (c) 2011 The Chromium OS Authors.
 #
index 39173359cae7bbf59eeef57b46b57fcff0e88fee..11c192a07375d8cf3409ec2e15ec692d35f48e43 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python2
 
 # Script to create enums from datasheet register tables
 #