Skip to content
Commit c4da7ed0 authored by Masahiro Yamada's avatar Masahiro Yamada
Browse files

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: default avatarMasahiro Yamada <yamada.masahiro@socionext.com>
parent 8a78756e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment