zephyr/scripts
David Brown 8405ce13a1 scripts: Explicitly call out python2
At least one Linux distribution (Arch) has made python 3 the default
interpreter, and Debian and Ubuntu have expressed a desire to eventually
make this the case.  As such, invoking 'python' or '/usr/bin/python'
will possibly run python 3 instead of version 2.

Distributions have included a 'python2' link for quite some time now,
and given that we have some scripts that require python 3, we should be
explicit about those that require python 2.

In addition, be more consistent about how python is invoked, preferring
the:

  #!/usr/bin/env python2

construct rather than a hardcoded path to python.  This allows the user
to have an alternative python in their path that will be used in
preference to the system provided version.

Jira: ZEP-1548
Change-Id: I125c2af808dc268f74277bc97a092df3acad23c0
Signed-off-by: David Brown <david.brown@linaro.org>
2017-01-12 10:28:02 -07:00
..
basic
cross_compiler
gen_idt
gen_offset_header kernel: remove last instances of tNANO in comments 2016-11-14 10:30:24 -05:00
kconfig scrips/kconfig: reduce impact of getenv() buffer overflow 2016-12-02 04:16:53 +00:00
sanity_chk sanitycheck: remove kernel keywords 2016-12-28 18:38:46 +00:00
support build: use target 'debugserver' for Qemu debugging 2017-01-10 20:20:46 +00:00
.gitignore
build_grub.sh
check_known_checkpatch_issues.sh
check_link_map.py scripts: Explicitly call out python2 2017-01-12 10:28:02 -07:00
checkconfig.py scripts: Explicitly call out python2 2017-01-12 10:28:02 -07:00
checkpatch.pl checkpatch: update with latest checkpatch from the linux kernel 2016-11-11 14:27:39 +00:00
checkstack.pl
compare_footprint scripts: Explicitly call out python2 2017-01-12 10:28:02 -07:00
config
diffconfig scripts: Explicitly call out python2 2017-01-12 10:28:02 -07:00
do_checkpatch.sh
expr_parser.py
filter-known-issues.py scripts: Explicitly call out python2 2017-01-12 10:28:02 -07:00
gcc-version.sh
get_maintainer.pl
headerdep.pl
Kbuild.include build: support pre-built host tools 2016-11-12 00:34:03 +00:00
maintainer-checkpatch.bash
make-ll
Makefile
Makefile.build build: support pre-built host tools 2016-11-12 00:34:03 +00:00
Makefile.clean
Makefile.extrawarn
Makefile.headersinst
Makefile.help
Makefile.host
Makefile.lib c++: enable subdir-cxxflags 2016-11-08 13:30:28 +02:00
Makefile.modbuiltin
Makefile.qemu build: abstract emulation and replace qemu goal with run 2017-01-10 20:20:47 +00:00
Makefile.toolchain.gccarmemb
Makefile.toolchain.issm
Makefile.toolchain.xtools
Makefile.toolchain.zephyr Makefile.toolchain.zephyr: Modifications for SDK 0.9 2017-01-04 14:16:12 -08:00
mkmakefile
mksysmap
qemu-machine-hack.py
sanitycheck sanitycheck: properly identify when QEMU crashes out 2017-01-11 14:03:39 +00:00
size_report scripts: Explicitly call out python2 2017-01-12 10:28:02 -07:00
spelling.txt
sysgen scripts: Explicitly call out python2 2017-01-12 10:28:02 -07:00
tags.sh
timestamp
vercomp