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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user