From 2b2bb0cce0a521371357353894d2fb62de06119c Mon Sep 17 00:00:00 2001 From: Peter Collingbourne Date: Tue, 5 Nov 2019 13:02:42 -0800 Subject: [PATCH] ANDROID: don't enable TOOLS_SUPPORT_RELR in all{mod,yes}config We can't have this option enabled by default in all{mod,yes}config builds because the tools might not support RELR. Follow the pattern used elsewhere in the kernel and specify "depends on !COMPILE_TEST" in order to prevent it from being turned on in these builds. Bug: 143966059 Signed-off-by: Peter Collingbourne Change-Id: I0c728bd8973791b1879257b343aa53bd1f91c3f1 --- init/Kconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/init/Kconfig b/init/Kconfig index b1cabfa234b2..2ebd9ff7f552 100644 --- a/init/Kconfig +++ b/init/Kconfig @@ -18,6 +18,9 @@ config DEFCONFIG_LIST config TOOLS_SUPPORT_RELR bool "Declare tool support for RELR" + # Prevent this from being enabled by default in allyesconfig or + # allmodconfig builds. + depends on !COMPILE_TEST config CONSTRUCTORS bool