commit | 57fd251c789647552d32d2fc51bedd4f90d70f9f | [log] [tgz] |
---|---|---|
author | Masahiro Yamada <masahiroy@kernel.org> | Sun Feb 28 15:10:27 2021 +0900 |
committer | Masahiro Yamada <masahiroy@kernel.org> | Sun Apr 25 05:09:32 2021 +0900 |
tree | ec64861aab0f628df236c229e54a23251880475a | |
parent | 3204a7fb98a3bccd0004ea0f2769fbeadc2c2dba [diff] |
kbuild: split cc-option and friends to scripts/Makefile.compiler scripts/Kbuild.include is included everywhere, but macros such as cc-option are needed by build targets only. For example, when 'make clean' traverses the tree, it does not need to evaluate $(call cc-option,). Split cc-option, ld-option, etc. to scripts/Makefile.compiler, which is only included from the top Makefile and scripts/Makefile.build. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>