aboutsummaryrefslogtreecommitdiffstats
path: root/include/package.mk
diff options
context:
space:
mode:
authorEneas U de Queiroz <cotequeiroz@gmail.com>2020-02-20 18:29:04 -0300
committerPetr Štetiar <ynezz@true.cz>2020-07-11 13:33:28 +0200
commit11192484fa320cd233849441bd00ddf58964de42 (patch)
tree3cc5e033023051182c3b0843e6c09cdc2935856e /include/package.mk
parent78d1f3ac61b1740f2a45c40bcde0e83246308a18 (diff)
downloadupstream-11192484fa320cd233849441bd00ddf58964de42.tar.gz
upstream-11192484fa320cd233849441bd00ddf58964de42.tar.bz2
upstream-11192484fa320cd233849441bd00ddf58964de42.zip
build: reduce number of files passed to ipk-remove
Instead of using xargs to pass a huge number of files to script/ipkg-remove, which will usually pick only one, use a more restrictive wildcard so that, currently, at the most 325 files are examined, instead of up to over 2,300. The 325-file package is python, which is picking up python3* ipks. It is about to be removed. Runner-up is ddns-scripts with 7 files. This makes a second run of make package/luci/compile go from real 16.40s; user 17.42s; sys 2.73s to real 10.71s; user 9.51s; sys 1.27s There is a caveat though: if one were to remove the ABI_VERSION of a package that ends in a digit [0-9], then the old package ipk will not be removed from the bin directory by make package/abc2/clean. Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
Diffstat (limited to 'include/package.mk')
0 files changed, 0 insertions, 0 deletions