summaryrefslogtreecommitdiffstats
path: root/scripts/Makefile.compiler
Commit message (Collapse)AuthorAgeFilesLines
* kbuild: remove TMPO from try-runMasahiro Yamada2021-04-251-1/+0
| | | | | | | | | TMPO is only used by arch/x86/Makefile. Change arch/x86/Makefile to use $$TMPO.o and remove TMPO from scripts/Makefile.compiler. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
* kbuild: split cc-option and friends to scripts/Makefile.compilerMasahiro Yamada2021-04-251-0/+75
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>