treewide: Setup inline build for denver modules

Change-Id: Ia804acc4af1e5424aabaf062d8ac897dc214b04d
This commit is contained in:
Vivekachooz 2025-08-23 09:40:10 +05:30 • committed by Michael Bestas
commit 24599b086c
No known key found for this signature in database
GPG key ID: CC95044519BE6669
4 changed files with 19 additions and 14 deletions

View file

@ -914,6 +914,7 @@ config INPUT_STPMIC1_ONKEY
To compile this driver as a module, choose M here: the
module will be called stpmic1_onkey.
source "drivers/input/misc/chipone_fps_mmi/Kconfig"
source "drivers/input/misc/focal_fps_mmi/Kconfig"
source "drivers/input/misc/fpc_fps_mmi/Kconfig"
source "drivers/input/misc/goodix_fod_mmi/Kconfig"

View file

@ -88,6 +88,7 @@ obj-$(CONFIG_INPUT_XEN_KBDDEV_FRONTEND) += xen-kbdfront.o
obj-$(CONFIG_INPUT_YEALINK) += yealink.o
obj-$(CONFIG_INPUT_IDEAPAD_SLIDEBAR) += ideapad_slidebar.o
obj-$(CONFIG_INPUT_CHIPONE_FPS_MMI) += chipone_fps_mmi/
obj-$(CONFIG_INPUT_FOCAL_FPS_MMI) += focal_fps_mmi/
obj-$(CONFIG_INPUT_MISC_FPC1020) += fpc_fps_mmi/
obj-$(CONFIG_INPUT_GOODIX_FOD_MMI) += goodix_fod_mmi/

View file

@ -1,14 +1,3 @@
# add -Wall to try to catch everything we can.
EXTRA_CFLAGS += -Wall
EXTRA_CFLAGS += -I$(ANDROID_BUILD_TOP)/motorola/kernel/modules/include
prod_list := hawao penang pnangn
find_target := $(foreach find, $(prod_list), $(findstring $(find), $(TARGET_PRODUCT)))
find_target := $(strip $(find_target))
$(warning find_target=$(find_target))
ifneq ($(find_target),)
$(warning define SUPPORT_POWER_GPIO)
EXTRA_CFLAGS += -DSUPPORT_POWER_GPIO
endif
obj-m += fpsensor_spi_tee.o
ccflags-$(CONFIG_INPUT_CHIPONE_FPS_MMI_SUPPORT_POWER_GPIO) += -DSUPPORT_POWER_GPIO
obj-$(CONFIG_INPUT_CHIPONE_FPS_MMI) += fpsensor_spi_tee.o

View file

@ -0,0 +1,14 @@
config INPUT_CHIPONE_FPS_MMI
tristate "MMI Chipone fingerprint sensor"
default n
help
Say Y here if you wish to include support for MMI Chipone fingerprint sensor.
If unsure, say N.
config INPUT_CHIPONE_FPS_MMI_SUPPORT_POWER_GPIO
bool "Power GPIO support for MMI Chipone fingerprint sensor"
default n
depends on INPUT_CHIPONE_FPS_MMI
help
Say Y here if you wish to include power gpio support for MMI Chipone fingerprint sensor.
If unsure, say N.