kbuild: make single target builds even faster
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Mon, 18 Nov 2019 04:52:47 +0000 (13:52 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Sat, 23 Nov 2019 06:46:42 +0000 (15:46 +0900)
commitb1fbfcb4a20949df08dd995927cdc5ad220c128d
tree990554a461705562493e12258f57af41b931d15f
parent7ef9ab3b32b4bb72a7d70b832d2eb12ceb93d9fd
kbuild: make single target builds even faster

Commit 2dffd23f81a3 ("kbuild: make single target builds much faster")
made the situation much better.

To improve it even more, apply the similar idea to the top Makefile.
Trim unrelated directories from build-dirs.

The single build code must be moved above the 'descend' target.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Tested-by: Jens Axboe <axboe@kernel.dk>
Makefile