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 scripts: Update fixdep from kernel.org 2016-10-31 20:58:57 +00:00
cross_compiler build: update xtools configurations 2016-02-05 20:25:13 -05:00
gen_idt gen_idt: remove int_vec_alloc bitfield from output 2016-10-21 23:30:05 +00:00
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 expr_parser.py: simple expression language 2016-05-04 22:57:39 +00:00
build_grub.sh grub: Tweak build_grub.sh for proxy issues 2016-08-23 13:20:52 +00:00
check_known_checkpatch_issues.sh Change BSD-3 licenses to Apache 2 2016-02-05 20:24:29 -05:00
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 First commit 2015-04-10 16:44:37 -07:00
compare_footprint scripts: Explicitly call out python2 2017-01-12 10:28:02 -07:00
config First commit 2015-04-10 16:44:37 -07:00
diffconfig scripts: Explicitly call out python2 2017-01-12 10:28:02 -07:00
do_checkpatch.sh Change BSD-3 licenses to Apache 2 2016-02-05 20:24:29 -05:00
expr_parser.py expr_parser: support ':' operator 2016-06-02 23:10:07 +00:00
filter-known-issues.py scripts: Explicitly call out python2 2017-01-12 10:28:02 -07:00
gcc-version.sh First commit 2015-04-10 16:44:37 -07:00
get_maintainer.pl scripts: Port get_maintainer.pl to Zephyr 2016-09-12 00:24:13 +00:00
headerdep.pl First commit 2015-04-10 16:44:37 -07:00
Kbuild.include build: support pre-built host tools 2016-11-12 00:34:03 +00:00
maintainer-checkpatch.bash Change BSD-3 licenses to Apache 2 2016-02-05 20:24:29 -05:00
make-ll Change BSD-3 licenses to Apache 2 2016-02-05 20:24:29 -05:00
Makefile build: remove unused linux related code 2016-02-05 20:25:15 -05:00
Makefile.build build: support pre-built host tools 2016-11-12 00:34:03 +00:00
Makefile.clean First commit 2015-04-10 16:44:37 -07:00
Makefile.extrawarn First commit 2015-04-10 16:44:37 -07:00
Makefile.headersinst First commit 2015-04-10 16:44:37 -07:00
Makefile.help First commit 2015-04-10 16:44:37 -07:00
Makefile.host First commit 2015-04-10 16:44:37 -07:00
Makefile.lib c++: enable subdir-cxxflags 2016-11-08 13:30:28 +02:00
Makefile.modbuiltin First commit 2015-04-10 16:44:37 -07:00
Makefile.qemu build: abstract emulation and replace qemu goal with run 2017-01-10 20:20:47 +00:00
Makefile.toolchain.gccarmemb toolchain.gccarmemb: Cleanup Makefile 2016-07-28 14:08:49 +00:00
Makefile.toolchain.issm build: Improve usage of the ISSM toolchain 2016-07-21 02:48:03 +00:00
Makefile.toolchain.xtools build: Make QEMU_BIN_PATH optional 2016-09-12 02:35:20 +00:00
Makefile.toolchain.zephyr Makefile.toolchain.zephyr: Modifications for SDK 0.9 2017-01-04 14:16:12 -08:00
mkmakefile First commit 2015-04-10 16:44:37 -07:00
mksysmap First commit 2015-04-10 16:44:37 -07:00
qemu-machine-hack.py HACK: qemu: change e_machine for IAMCU binaries 2016-03-12 02:24:46 +00:00
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 First commit 2015-04-10 16:44:37 -07:00
sysgen scripts: Explicitly call out python2 2017-01-12 10:28:02 -07:00
tags.sh build: Add tags.sh to enable tagging targets 2016-02-05 20:24:36 -05:00
timestamp Change BSD-3 licenses to Apache 2 2016-02-05 20:24:29 -05:00
vercomp sdk: zephyr: check for minimum required version of SDK 2016-09-15 21:17:02 +00:00