]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit - Makefile
kbuild: make single target builds even faster
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Mon, 18 Nov 2019 04:52:47 +0000 (13:52 +0900)
committerPaolo Pisati <paolo.pisati@canonical.com>
Fri, 6 Mar 2020 13:05:56 +0000 (14:05 +0100)
commit4b6eedb9847e2e98c9607822f76c2b4b80561902
treece5e8ec015f6edf3fdff19659ecbed0cc124fc7c
parenta8f733789d619b27ef09ecafe4d8664252bd7108
kbuild: make single target builds even faster

BugLink: https://bugs.launchpad.net/bugs/1866333
commit b1fbfcb4a20949df08dd995927cdc5ad220c128d upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Paolo Pisati <paolo.pisati@canonical.com>
Makefile