ANDROID: init: GKI: add GKI_HACKS_TO_FIX

Add CONFIG_GKI_HACKS_TO_FIX as a mechanism to force
hidden configs to be selected for modules that will be built
separately. Also used to select drivers that need to be
modularized.

As these issues are resolved upstream, the configs should
be removed from GKI_HACKS_TO_FIX

Bug: 141266428
Change-Id: Ic8b2a17cd3a389ac5ef999c8c79b5b5dfee73c8a
Signed-off-by: Todd Kjos <tkjos@google.com>
This commit is contained in:
Todd Kjos 2019-08-28 15:52:02 -07:00
parent 046263fec6
commit a7dc224be7
2 changed files with 17 additions and 0 deletions

View file

@ -2090,3 +2090,5 @@ config ARCH_HAS_SYNC_CORE_BEFORE_USERMODE
# <asm/syscall_wrapper.h>.
config ARCH_HAS_SYSCALL_WRAPPER
def_bool n
source "init/Kconfig.gki"

15
init/Kconfig.gki Normal file
View file

@ -0,0 +1,15 @@
# Atrocities needed for
# a) building GKI modules in separate tree, or
# b) building drivers that are not modularizable
#
# All of these should be reworked into an upstream solution
# if possible.
#
config GKI_HACKS_TO_FIX
bool "GKI Dummy config options"
help
Dummy config option used to enable core functionality used by
modules that may not be selectable in this config.
Unless you are building a GKI kernel to be used with modules
built from a different config, say N here.