summaryrefslogtreecommitdiffstats
path: root/init/Kconfig
diff options
context:
space:
mode:
authorMasahiro Yamada <masahiroy@kernel.org>2021-03-15 17:12:55 +0100
committerMasahiro Yamada <masahiroy@kernel.org>2021-04-24 22:14:26 +0200
commite24b3ffcf4216d819b52618b6f17ba7410d1d845 (patch)
tree744a4dcc8d480a9f54bb88cecbcdeaec17f2e43d /init/Kconfig
parentkbuild: replace sed with $(subst ) or $(patsubst ) (diff)
downloadlinux-e24b3ffcf4216d819b52618b6f17ba7410d1d845.tar.xz
linux-e24b3ffcf4216d819b52618b6f17ba7410d1d845.zip
kbuild: collect minimum tool versions into scripts/min-tool-version.sh
The kernel build uses various tools, many of which are provided by the same software suite, for example, LLVM and Binutils. When you raise the minimum version of Clang/LLVM, you need to update clang_min_version in scripts/cc-version.sh and also lld_min_version in scripts/ld-version.sh. Kbuild can handle CC=clang and LD=ld.lld independently, but it does not make much sense to maintain their versions separately. Let's create a central place of minimum tool versions so you do not need to touch multiple files. scripts/min-tool-version.sh prints the minimum version of the given tool. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Nathan Chancellor <nathan@kernel.org> Acked-by: Miguel Ojeda <ojeda@kernel.org> Tested-by: Sedat Dilek <sedat.dilek@gmail.com>
Diffstat (limited to 'init/Kconfig')
0 files changed, 0 insertions, 0 deletions