kernel/init/Kconfig
.. .. @@ -47,6 +47,18 @@ 47 47 int 48 48 default $(shell,$(srctree)/scripts/clang-version.sh $(CC)) 49 49 50 +config AS_IS_GNU51 + def_bool $(success,test "$(as-name)" = GNU)52 +53 +config AS_IS_LLVM54 + def_bool $(success,test "$(as-name)" = LLVM)55 +56 +config AS_VERSION57 + int58 + # Use clang version if this is the integrated assembler59 + default CLANG_VERSION if AS_IS_LLVM60 + default $(as-version)61 +50 62 config LLD_VERSION 51 63 int 52 64 default $(shell,$(srctree)/scripts/lld-version.sh $(LD))