]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - scripts/Makefile.build
kbuild: optimize object directory creation for incremental build
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Mon, 13 Nov 2017 10:29:38 +0000 (19:29 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Thu, 16 Nov 2017 00:07:36 +0000 (09:07 +0900)
commitc4da7ed0e7d715b159b11efd10408510ffed1aa3
treea08d8a1e2fcb39de48dd815d0bf30996b8bbb2f7
parent8a78756eb545a6fb8007fa154a626ca2bc208027
kbuild: optimize object directory creation for incremental build

The previous commit largely optimized the object directory creation.
We can optimize it more for incremental build.

There are already *.cmd files in the output directory.  The existing
*.cmd files have been picked up by $(wildcard ...).  Obviously,
directories containing them exist too, so we can skip "mkdir -p".

With this, Kbuild runs almost zero "mkdir -p" in incremental building.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
scripts/Makefile.build