ANDROID: GKI: Fix up "do not export symbol_get/put()" commit

When removing the export from symbol_get/put(), I disabled lots of
different drivers in the allmodconfig build file.

As some pointed out, that's not the nicest thing to do, as we really do
want the build coverage, so instead, "tweak" the Kconfig files to make
the problamatic modules be built-in to the kernel image.  That removes
the problem of the export going away and still gives us good build
testing coverage, without modifying any real-world device
configurations.

Note, 3 config options are "turned off" so they can not be selected, as
they could not be worked around in any semi-sane manner:
	VIDEO_CX23885
	DELL_LAPTOP
	SAMPLE_HW_BREAKPOINT
none of which affects any known Android devices.

Bug: 162613590
Fixes: 882b7ca141 ("ANDROID: GKI: do not export symbol_get/put()")
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Change-Id: Ia28f73a64566438940b876a5d9c1a0137c6304d0
This commit is contained in:
Greg Kroah-Hartman 2020-07-28 19:52:00 +02:00
commit a35cf72836
42 changed files with 90 additions and 119 deletions

View file

@ -42,6 +42,7 @@ config SAMPLE_KRETPROBES
config SAMPLE_HW_BREAKPOINT
tristate "Build kernel hardware breakpoint examples -- loadable module only"
depends on HAVE_HW_BREAKPOINT && m
depends on BROKEN
help
This builds kernel hardware breakpoint example modules.