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
tirimbino
Peter Collingbourne 5 years ago
parent 6409e7e01d
commit 2b2bb0cce0
  1. 3
      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

Loading…
Cancel
Save