mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-07 04:12:04 -04:00
treewide: Setup inline build for denver modules
Change-Id: Ia804acc4af1e5424aabaf062d8ac897dc214b04d
This commit is contained in:
parent
5bf63f8060
commit
24599b086c
4 changed files with 19 additions and 14 deletions
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -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/
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
14
drivers/input/misc/chipone_fps_mmi/Kconfig
Normal file
14
drivers/input/misc/chipone_fps_mmi/Kconfig
Normal 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.
|
||||
Loading…
Reference in a new issue