ANDROID: build.config.allmodconfig: Build-in HID and UHID

Commit ("ANDROID: HID; Over-ride default maximum buffer size when using
UHID") provides an Android-centric workaround for a userspace initiated
overflow issue in the report submission infrastructure by checking to
see if UHID is in use from within the HID core.  This causes some
compilers to report a dependency cycle issue during modules_install:

  depmod: ERROR: Cycle detected: hid -> uhid -> hid
  depmod: ERROR: Found 2 modules in dependency cycles!

This patch works around that issue by ensuring both HID and UHID are
built-in and available to each other at all times, which overrides
allmodconfig's default behaviour of building all tristate symbols as
modules.

Bug: 260007429
Change-Id: I470b3664b8644ab4290fa64bf5822e72fbce975a
Signed-off-by: Lee Jones <joneslee@google.com>
This commit is contained in:
Lee Jones
2023-06-20 14:06:50 +00:00
parent 6804500c16
commit f37fe29d89

View File

@@ -8,6 +8,8 @@ function update_config() {
-d INFINIBAND_QIB \
-d SAMPLES \
-d BPFILTER \
-e HID \
-e UHID \
(cd ${OUT_DIR} && \
make O=${OUT_DIR} $archsubarch CROSS_COMPILE=${CROSS_COMPILE} ${TOOL_ARGS} ${MAKE_ARGS} olddefconfig)