]> git.baikalelectronics.ru Git - kernel.git/commit
kbuild: include scripts/Makefile.* only when relevant CONFIG is enabled
authorMasahiro Yamada <masahiroy@kernel.org>
Sat, 1 Aug 2020 15:00:49 +0000 (00:00 +0900)
committerMasahiro Yamada <masahiroy@kernel.org>
Sun, 9 Aug 2020 16:32:59 +0000 (01:32 +0900)
commit776af06c7084803f4e279d8bf54a3ad60aea8448
tree72bf8b470a3707d7fa61cc05ebb13667f4120d63
parentd04d774a4ec192ef2f78bff964bd4041c69c67b6
kbuild: include scripts/Makefile.* only when relevant CONFIG is enabled

Currently, the top Makefile includes all of scripts/Makefile.<feature>
even if the associated CONFIG option is disabled.

Do not include unneeded Makefiles in order to slightly optimize the
parse stage.

Include $(include-y), and ignore $(include-).

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Makefile
scripts/Makefile.kcov
scripts/Makefile.kcsan
scripts/Makefile.ubsan