diff --git a/arch/arm64/configs/gki_defconfig b/arch/arm64/configs/gki_defconfig index 6ca03709335a..1930bd04c7a0 100644 --- a/arch/arm64/configs/gki_defconfig +++ b/arch/arm64/configs/gki_defconfig @@ -1,3 +1,4 @@ +CONFIG_UAPI_HEADER_TEST=y CONFIG_LOCALVERSION="-mainline" CONFIG_AUDIT=y CONFIG_NO_HZ=y diff --git a/arch/x86/configs/gki_defconfig b/arch/x86/configs/gki_defconfig index a90c6542706b..505e0b25e8f4 100644 --- a/arch/x86/configs/gki_defconfig +++ b/arch/x86/configs/gki_defconfig @@ -1,3 +1,4 @@ +CONFIG_UAPI_HEADER_TEST=y CONFIG_LOCALVERSION="-mainline" CONFIG_KERNEL_LZ4=y # CONFIG_USELIB is not set diff --git a/init/Kconfig b/init/Kconfig index 1b8d8f907f32..6d4bd0e92964 100644 --- a/init/Kconfig +++ b/init/Kconfig @@ -153,7 +153,7 @@ config WERROR config UAPI_HEADER_TEST bool "Compile test UAPI headers" - depends on HEADERS_INSTALL && CC_CAN_LINK + depends on HEADERS_INSTALL help Compile test headers exported to user-space to ensure they are self-contained, i.e. compilable as standalone units.