We should be likely looking this direction: commit 76426e238834f0927dee9925e8832179b8d56d6e Author: Masahiro Yamada <masahiroy@kernel.org> Date: Wed Apr 8 00:53:52 2020 +0900 kbuild: add dummy toolchains to enable all cc-option etc. in Kconfig