treewide: Setup inline build for moto modules

Co-authored-by: Erfan Abdi <[email protected]>
Co-authored-by: Beta Soft <[email protected]>
Co-authored-by: dianlujitao <[email protected]>
Co-authored-by: Sevenrock <[email protected]>
Co-authored-by: SGCMarkus <[email protected]>
Co-authored-by: Michael Bestas <[email protected]>
Change-Id: I5a7218c093f4cd42325860aeb8e281fe7be41a66
This commit is contained in:
electimon 2022-01-28 11:22:30 +08:00 • committed by Michael Bestas
commit 9860dc91ec
No known key found for this signature in database
109 changed files with 1346 additions and 874 deletions

View file

@ -60,6 +60,7 @@ source "drivers/nfc/nxp-nci/Kconfig"
source "drivers/nfc/s3fwrn5/Kconfig"
source "drivers/nfc/st95hf/Kconfig"
source "drivers/nfc/samsung/Kconfig"
source "drivers/nfc/sn2xx/Kconfig"
endmenu
config NFC_QTI_I2C

View file

@ -18,4 +18,5 @@ 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_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_nci.o
nfc_nci-objs:= nfc_common.o nfc_i2c_drv.o ese_cold_reset.o
KBUILD_EXTRA_SYMBOLS += $(CURDIR)/$(KBUILD_EXTMOD)/../../mmi_info/Module.symvers
obj-$(CONFIG_NFC_SN2XX) += nfc_nci.o

View file

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