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>
master
Masahiro Yamada 7 years ago committed by Tom Rini
parent 56d1dded62
commit 94b13bbae9
  1. 2
      scripts/dtc/pylibfdt/setup.py
  2. 2
      scripts/mailmapper
  3. 2
      test/py/test.py
  4. 2
      tools/buildman/buildman.py
  5. 2
      tools/dtoc/dtoc.py
  6. 2
      tools/microcode-tool.py
  7. 2
      tools/patman/patman.py
  8. 2
      tools/rkmux.py

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python2
"""
setup.py file for SWIG libfdt

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python2
#
# Copyright (C) 2014, Masahiro Yamada <yamada.m@jp.panasonic.com>
#

@ -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.

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python2
#
# Copyright (c) 2012 The Chromium OS Authors.
#

@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/env python2
#
# Copyright (C) 2016 Google, Inc
# Written by Simon Glass <sjg@chromium.org>

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python2
#
# Copyright (c) 2014 Google, Inc
#

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python2
#
# Copyright (c) 2011 The Chromium OS Authors.
#

@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/env python2
# Script to create enums from datasheet register tables
#

Loading…
Cancel
Save