From e260bb27a67b9aa5d6040798a0ea8edb7a519bf0 Mon Sep 17 00:00:00 2001 From: Nick Desaulniers Date: Thu, 17 Feb 2022 16:47:05 -0800 Subject: [PATCH] ANDROID: Kconfig: break UAPI_HEADER_TEST dependency on CC_CAN_LINK From what I can tell, this might not actually be required. Bug: 190019968 Suggested-by: Elliot Berman Suggested-by: Nathan Chancellor Signed-off-by: Nick Desaulniers Change-Id: I3ae02a7c25c99b1a0628cabb4e2eba0d924ab338 --- arch/arm64/configs/gki_defconfig | 1 + arch/x86/configs/gki_defconfig | 1 + init/Kconfig | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) 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.