treewide: Setup inline build for moto bengal/bathena modules

Change-Id: Ic5bd93f57e53d813c2ad01d2147107c28c2e383d
Signed-off-by: Deivid21 <david.parra.ignacio@gmail.com>
This commit is contained in:
Deivid21 authored and Michael Bestas committed 2025-07-19 18:25:12 +03:00
1 parent 3dbdd7bb82
commit 5a6c582558
4 files changed
+19 -24

No files matched your search

+2
View File
@@ -1384,6 +1384,8 @@ source "drivers/input/touchscreen/focaltech_0flash_mmi/Kconfig"
source "drivers/input/touchscreen/focaltech_0flash_v2_mmi/Kconfig"
source "drivers/input/touchscreen/focaltech_touch_spi_mmi/Kconfig"
source "drivers/input/touchscreen/focaltech_touch_v3/Kconfig"
source "drivers/input/touchscreen/focaltech_v2_mmi/Kconfig"
+1
View File
@@ -124,6 +124,7 @@ obj-$(CONFIG_TOUCHSCREEN_FTS_TS) += stmicro_mmi/
obj-$(CONFIG_TOUCHSCREEN_SYNA_TCM2) += synaptics_tcm2_mmi/
obj-$(CONFIG_INPUT_TOUCHSCREEN_FOCALTECH_0FLASH_MMI) += focaltech_0flash_mmi/
obj-$(CONFIG_INPUT_TOUCHSCREEN_FOCALTECH_0FLASH_V2_MMI) += focaltech_0flash_v2_mmi/
obj-$(CONFIG_INPUT_TOUCHSCREEN_FOCALTECH_SPI_MMI) += focaltech_touch_spi_mmi/
obj-$(CONFIG_INPUT_TOUCHSCREEN_FOCALTECH_V3) += focaltech_touch_v3/
obj-$(CONFIG_INPUT_TOUCHSCREEN_FOCALTECH_V2_MMI) += focaltech_v2_mmi/
obj-$(CONFIG_INPUT_TOUCHSCREEN_ILI_9882_MMI) += ili9882_mmi/
@@ -1,12 +1,8 @@
# add -Wall to try to catch everything we can.
EXTRA_CFLAGS += -Wall
EXTRA_CFLAGS += -I$(TOP)/motorola/kernel/modules/include \
-I$(TOP)/motorola/kernel/modules/drivers/input/touchscreen/focaltech_touch_spi_mmi \
-I$(TOP)/motorola/kernel/modules/drivers/input/touchscreen/focaltech_touch_spi_mmi/include \
-I$(TOP)/motorola/kernel/modules/drivers/input/touchscreen/focaltech_touch_spi/focaltech_test \
-I$(TOP)/motorola/kernel/modules/drivers/input/touchscreen/focaltech_touch_spi/focaltech_test/supported_ic
ccflags-y += -I$(srctree)/drivers/input/touchscreen/focaltech_touch_spi_mmi/include
ccflags-y += -I$(srctree)/drivers/input/touchscreen/focaltech_touch_spi/focaltech_test
ccflags-y += -I$(srctree)/drivers/input/touchscreen/focaltech_touch_spi/focaltech_test/supported_ic
obj-m := focaltech_touch_spi_mmi.o
obj-$(CONFIG_INPUT_TOUCHSCREEN_FOCALTECH_SPI_MMI) += focaltech_touch_spi_mmi.o
focaltech_touch_spi_mmi-objs += focaltech_core.o
focaltech_touch_spi_mmi-objs += focaltech_ex_fun.o
focaltech_touch_spi_mmi-objs += focaltech_ex_mode.o
@@ -1,16 +1,12 @@
#
# Focaltech Touchscreen driver configuration
#
config TOUCHSCREEN_FTS
bool "Focaltech Touchscreen"
default n
help
Say Y here if you have Focaltech touch panel.
If unsure, say N.
config TOUCHSCREEN_FTS_DIRECTORY
string "Focaltech ts directory name"
default "focaltech_touch"
depends on TOUCHSCREEN_FTS
#
# Focaltech Touchscreen driver configuration
#
config INPUT_TOUCHSCREEN_FOCALTECH_SPI_MMI
tristate "FocalTech Touchscreen Driver SPI MMI"
default n
help
Say Y here if you wish to include support for FocalTech Touchscreen SPI MMI.
If unsure, say N.
To compile this driver as a module, choose M here: the
module will be called focaltech_touch_spi_mmi.