treewide: Setup inline build for miami modules

Change-Id: Ia645e2c006482208936763afa7207a92aac03d05
This commit is contained in:
marcost2 2025-04-16 22:57:21 -03:00
commit ca465040b6
17 changed files with 56 additions and 35 deletions

View file

@ -63,6 +63,8 @@ source "drivers/nfc/samsung/Kconfig"
source "drivers/nfc/sn2xx/Kconfig"
endmenu
source "drivers/nfc/sn1xx/Kconfig"
config NFC_QTI_I2C
tristate "QTI NCI based NFC I2C Slave Driver for SNxxx"
depends on I2C

View file

@ -18,5 +18,6 @@ obj-$(CONFIG_NFC_NXP_NCI) += nxp-nci/
obj-$(CONFIG_NFC_S3FWRN5) += s3fwrn5/
obj-$(CONFIG_NFC_ST95HF) += st95hf/
obj-$(CONFIG_SEC_NFC) += samsung/
obj-$(CONFIG_NFC_SN1XX) += sn1xx/
obj-$(CONFIG_NFC_SN2XX) += sn2xx/
obj-y += qti/

View file

@ -1,8 +1,3 @@
# add -Wall to try to catch everything we can.
EXTRA_CFLAGS += -Wall
EXTRA_CFLAGS += -I$(ANDROID_BUILD_TOP)/motorola/kernel/modules/include
obj-m += nfc_i2c.o
nfc_i2c-objs:= nfc_common.o nfc_i2c_drv.o
KBUILD_EXTRA_SYMBOLS += $(CURDIR)/$(KBUILD_EXTMOD)/../../mmi_info/Module.symvers
obj-$(CONFIG_NFC_SN1XX) += nfc_i2c.o

View file

@ -0,0 +1,6 @@
config NFC_SN1XX
tristate "QTI NFC for SN1xx"
help
This enables the QTI NFC driver for SN1xx based devices.
If unsure, say N.