kumquat-buildroot/support
Victor Huesca 46190a36d9 support/scripts/pkg-stats: improve 'package_init_make_info'
The pkg-stats calls 3 times `make` to get a bunch of variables. These
variables can be obtained in only one make invocation.  This patch
replaces the three calls by just one and adjusts the parsing logic
accordingly.

Note: another option suggested by Arnout would be to run `make
show-info` that produces a json with the necessary variables.  This
would avoid the duplicated effort done in pkg-stats and pkg-utils and
allow to add other infos to pkg-stats like dependencies, reversed
dependencies or if the package is virtual.

In order to use this method, the following changes are required in
pkg-generic's show-info:

 - include license_files;
 - have an option to run it on *all* packages, not just the selected
   ones.

This patch take the simplest approach of only factorizing the make
calls as it requires less changes.

Signed-off-by: Victor Huesca <victor.huesca@bootlin.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2019-08-01 14:27:23 +02:00
..
config-fragments support/config-fragments/autobuild: test the Andes nds32 architecture 2019-04-17 09:27:21 +02:00
dependencies support/dependencies: Add hint for ArchLinux when host needs IA32 libs 2019-05-10 11:04:09 +02:00
docker support/docker: use the distro-provided flake8 2018-06-17 20:54:02 +02:00
download support/download/git: fix formatting of error message 2019-06-20 18:14:49 +02:00
gnuconfig support/gnuconfig: update to 2019-05-28 2019-05-31 22:59:52 +02:00
kconfig support/kconfig/merge_config.sh: avoid false positive matches from comment lines 2018-11-24 10:11:15 +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 2019.05 2019-06-02 10:01:07 +02:00
scripts support/scripts/pkg-stats: improve 'package_init_make_info' 2019-08-01 14:27:23 +02:00
testing support/testing: add luaposix test 2019-08-01 10:11:18 +02:00