diff options
author | Peter Collingbourne <pcc@google.com> | 2019-11-05 13:02:42 -0800 |
---|---|---|
committer | Peter Collingbourne <pcc@google.com> | 2019-11-05 13:17:55 -0800 |
commit | 2b2bb0cce0a521371357353894d2fb62de06119c (patch) | |
tree | 027cbba1d0f3fbc6f4435fc33c7193be07900677 /init | |
parent | 6409e7e01d114abdeeaa2fa0a23fe293d800dad5 (diff) |
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 <pcc@google.com>
Change-Id: I0c728bd8973791b1879257b343aa53bd1f91c3f1
Diffstat (limited to 'init')
-rw-r--r-- | init/Kconfig | 3 |
1 files changed, 3 insertions, 0 deletions
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 |