asterisk-13.x: speed up menuselect calls
authorSebastian Kemper <sebastian_ml@gmx.net>
Tue, 5 Dec 2017 19:58:01 +0000 (20:58 +0100)
committerSebastian Kemper <sebastian_ml@gmx.net>
Tue, 5 Dec 2017 19:58:03 +0000 (20:58 +0100)
commit90121c4959ea3e71f9dff7d05212ffaee8ac3f8d
treede8ab98b2864830b78927c0116a2c45d0f55c306
parentfb84fe64e3f93b4a9ccf2bdfba31a85e48c4caaa
asterisk-13.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-13.x/Makefile