rv1126-uboot/scripts
Clément Bœsch 3809e30273 Makefile: honor PYTHON configuration properly
On some systems `python` is `python3` (for instance, Archlinux). The
`PYTHON` variable can be used to point to `python2` to have a successful
build.

The use of `PYTHON` is currently limited in the Makefile and needs to be
extended in other places:

First, pylibfdt is required to be a Python 2 binding (binman imports
pylibfdt and is only compatible Python 2), so its setup.py needs to be
called accordingly. An alternative would be to change the libfdt
setup.py shebang to python2, but the binding is actually portable. Also,
it would break on system where there is no such thing as `python2`.

Secondly, the libfdt import checks need to be done against Python 2 as
well since the Python 2 compiled modules (in this case _libdft.so) can
not be imported from Python 3.

Note on the libfdt imports: "@if ! PYTHONPATH=tools $(PYTHON) -c 'import
libfdt'; then..." is probably simpler than the currently sub-optimal
pipe.
Reviewed-by: Jonathan Gray <jsg@jsg.id.au>
2017-08-20 09:53:13 -04:00
..
basic
coccinelle/net
kconfig
.gitignore
Kbuild.include
Kconfig
Lindent
Makefile
Makefile.autoconf
Makefile.build
Makefile.clean
Makefile.extrawarn kbuild: update DTC warning settings for bus and node/property name checks 2017-05-15 13:00:27 -04:00
Makefile.host
Makefile.lib Makefile: Don't shadow actual error when compile ASL 2017-07-30 10:30:25 +08:00
Makefile.spl Makefile: honor PYTHON configuration properly 2017-08-20 09:53:13 -04:00
Makefile.uncmd_spl
bin2c.c
binutils-version.sh
build-whitelist.sh scripts: config_whitelist: Handle lines with leading spaces/tabs 2017-06-29 10:01:10 -04:00
check-config.sh scripts: config_whitelist: Handle lines with leading spaces/tabs 2017-06-29 10:01:10 -04:00
checkpatch.pl
checkstack.pl avr32: Retire AVR32 for good 2017-07-06 16:17:19 -04:00
cleanpatch
config_whitelist.txt m68k: add board stmark2, mcf5441x based 2017-08-18 01:26:52 +02:00
coreboot.sed
docproc.c
dtc-version.sh
fill_scrapyard.py
gcc-stack-usage.sh
gcc-version.sh
get_default_envs.sh
get_maintainer.pl
kernel-doc
ld-version.sh
mailmapper
mkmakefile
objdiff
setlocalversion scripts: setlocalversion: safely extract variables from auto.conf using awk 2017-08-13 17:15:08 +02:00
show-gnu-make