Skip to content
Snippets Groups Projects
user avatar
Masahiro Yamada authored
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: default avatarMasahiro Yamada <masahiroy@kernel.org>
57fd251c
History
Name Last commit Last update