diff options
author | Tony Ambardar <itugrok@yahoo.com> | 2021-04-18 03:09:44 -0700 |
---|---|---|
committer | Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk> | 2021-04-22 15:11:36 +0100 |
commit | 3e3af1908c9487e85d5666c83551024b6ec446e2 (patch) | |
tree | 3efa5c6890b4d9f5ea082c1fb874a0db1a4c7a06 /target/linux/arc770/Makefile | |
parent | 17576b1b2aeacf0a23bb9a911d675bd324754745 (diff) | |
download | upstream-3e3af1908c9487e85d5666c83551024b6ec446e2.tar.gz upstream-3e3af1908c9487e85d5666c83551024b6ec446e2.tar.bz2 upstream-3e3af1908c9487e85d5666c83551024b6ec446e2.zip |
iproute2: avoid unneeded compiles to speed building
Skip building Makefile targets that aren't packaged: tipc, dcb, ifstat,
rtacct, lnstat, and man. Also, only compile targets needed for the current
build variant i.e. don't compile 'tc' when building an 'ip' variant and
vice versa.
These changes reduce typical build times by over 30%:
$ make package/iproute2/clean && time make -j8 package/iproute2/compile
(old)
...
real 2m24.985s
user 3m12.537s
sys 0m26.677s
(new)
...
real 1m36.945s
user 2m8.734s
sys 0m20.046s
Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
Diffstat (limited to 'target/linux/arc770/Makefile')
0 files changed, 0 insertions, 0 deletions