asterisk-15.x: speed up menuselect calls
authorSebastian Kemper <sebastian_ml@gmx.net>
Tue, 5 Dec 2017 20:03:50 +0000 (21:03 +0100)
committerSebastian Kemper <sebastian_ml@gmx.net>
Tue, 5 Dec 2017 20:04:05 +0000 (21:04 +0100)
commit6c8eaf8f01f8fa819d83ba638819eb0bd9225362
tree7429e09d348e8d2a64d6475cda84aeed772a5402
parent90121c4959ea3e71f9dff7d05212ffaee8ac3f8d
asterisk-15.x: speed up menuselect calls

Currently the menuselect calls, for each category or item, step into a
directory and call menuselect once. So if all packages are build
menuselect will be called hundreds of times and as many directory
changes will be done.

Instead step into the directory only once, then generate the argument
string by iteratively adding to it and then call menuselect once. The
speedup is big.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
net/asterisk-15.x/Makefile