mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-09 03:21:51 +00:00
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>
This commit is contained in:
parent
5a834c1f9e
commit
2134342e57
1 changed files with 3 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/env python2
|
||||||
#
|
#
|
||||||
# Author: Masahiro Yamada <yamada.m@jp.panasonic.com>
|
# 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' to create boards.cfg file.
|
||||||
|
|
||||||
Run 'tools/genboardscfg.py -h' for available options.
|
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
|
import errno
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue