aboutsummaryrefslogtreecommitdiff
path: root/scripts/dtc
diff options
context:
space:
mode:
authorMasahiro Yamada2018-01-21 18:34:57 +0900
committerTom Rini2018-01-28 12:27:30 -0500
commit94b13bbae90bfb94204b8fe9c531bc163e746a9f (patch)
treefdfcfce6af59381fdf934d5987a1aba27ec6323c /scripts/dtc
parent56d1dded62246c48f772ddbd7211156a8a612974 (diff)
host-tools: use python2 explicitly for shebang
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>
Diffstat (limited to 'scripts/dtc')
-rwxr-xr-xscripts/dtc/pylibfdt/setup.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/dtc/pylibfdt/setup.py b/scripts/dtc/pylibfdt/setup.py
index daf1089425d..4f7cf042bfe 100755
--- a/scripts/dtc/pylibfdt/setup.py
+++ b/scripts/dtc/pylibfdt/setup.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2
"""
setup.py file for SWIG libfdt