kumquat-buildroot/support
Thomas Petazzoni 8cde7e6af9 support/dependencies/dependencies.sh: check for Python argparse module
The script support/scripts/check-uniq-files uses the argparse Python
module. In most recent Python versions (starting with 2.7), the
argparse module is part of the standard library, and we already check
for the availability of Python in
support/dependencies/dependencies.sh.

However, when running on an ancient distribution with Python 2.6, the
argparse module is not part of the Python standard library, but
available as an external module. Without this module, the build fails,
because check-uniq-files, which is used in target-finalize, fails to
run.

To avoid this failure, this commit adds a check in
support/dependencies/dependencies.sh to verify that the argparse
module is available.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2018-03-03 17:18:18 +01:00
..
config-fragments support/config-fragments: br-powerpc-internal-full: remove old option 2018-01-12 22:25:52 +01:00
dependencies support/dependencies/dependencies.sh: check for Python argparse module 2018-03-03 17:18:18 +01:00
docker support/dependencies: add check for c++ multilib 2018-02-06 17:21:09 +01:00
download support/download: svn non-interactive in BR2_SVN 2017-11-26 14:18:57 +01:00
gnuconfig support/gnuconfig: bump version to 2016-05-15 2016-06-05 22:26:57 +02:00
kconfig merge_config.sh: add br2-external support 2018-01-29 14:54:42 +01:00
legal-info legal-info: add hash for our own license file 2017-07-05 16:31:40 +02:00
libtool support/libtool: add patch for newer versions 2014-12-21 13:21:56 +01:00
misc Update for 2017.11 2017-11-30 22:35:17 +01:00
scripts support/scripts/check-uniq-files: add indices in format string 2018-03-03 17:17:41 +01:00
testing support/testing: fix job check-gitlab-ci.yml 2018-02-13 23:12:00 +01:00