compiler*.h: sync include/linux/compiler*.h with Linux 5.7-rc5
[platform/kernel/u-boot.git] / Kconfig
diff --git a/Kconfig b/Kconfig
index 97707e6..83a3a7e 100644 (file)
--- a/Kconfig
+++ b/Kconfig
@@ -71,6 +71,9 @@ config CC_COVERAGE
          Enabling this option will pass "--coverage" to gcc to compile
          and link code instrumented for coverage analysis.
 
+config CC_HAS_ASM_INLINE
+       def_bool $(success,echo 'void foo(void) { asm inline (""); }' | $(CC) -x c - -c -o /dev/null)
+
 config DISTRO_DEFAULTS
        bool "Select defaults suitable for booting general purpose Linux distributions"
        select AUTO_COMPLETE