summaryrefslogtreecommitdiff
path: root/tools/genboardscfg.py
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.m@jp.panasonic.com>2014-08-27 14:05:51 +0900
committerTom Rini <trini@ti.com>2014-08-28 17:18:49 -0400
commit2134342e57ea6904255015845abf4efd6d72504c (patch)
treec20590ae20e4ef8fdddb6ebe0ff9e46932270c1a /tools/genboardscfg.py
parent5a834c1f9e8ba6995c24bb93da4e766af9374f5b (diff)
downloadu-boot-imx-2134342e57ea6904255015845abf4efd6d72504c.zip
u-boot-imx-2134342e57ea6904255015845abf4efd6d72504c.tar.gz
u-boot-imx-2134342e57ea6904255015845abf4efd6d72504c.tar.bz2
tools/genboardscfg.py: change shebang into /usr/bin/env python2
This tool only works on python 2 (python 2.6 or lator). Change the shebang to make sure the script is run by python 2 and clearly say the supported version in the comment block. Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Diffstat (limited to 'tools/genboardscfg.py')
-rwxr-xr-xtools/genboardscfg.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/genboardscfg.py b/tools/genboardscfg.py
index 13dbc63..e6870f5 100755
--- a/tools/genboardscfg.py
+++ b/tools/genboardscfg.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2
#
# Author: Masahiro Yamada <yamada.m@jp.panasonic.com>
#
@@ -11,6 +11,8 @@ Converter from Kconfig and MAINTAINERS to boards.cfg
Run 'tools/genboardscfg.py' to create boards.cfg file.
Run 'tools/genboardscfg.py -h' for available options.
+
+This script only works on python 2.6 or later, but not python 3.x.
"""
import errno