summaryrefstree
path: root/kernel/drivers/fingerprint/Makefile
blob: 404e8df2aee7fb06fa69b469867e56a1d6219832 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
#
# Makefile for the Fingerprint sensor driver.
#

# Each configuration option enables a list of files.

ccflags-y := -Wformat

ifeq ($(CONFIG_SENSORS_FINGERPRINT),m)
ifeq ($(CONFIG_SENSORS_FINGERPRINT_LSI),y)
ifeq ($(CONFIG_SENSORS_QBT2000),m)
obj-$(CONFIG_SENSORS_FINGERPRINT)	+= fingerprint.o fingerprint_sysfs.o
obj-$(CONFIG_SENSORS_QBT2000)			+= qbt2000_spidev.o
fingerprint-$(CONFIG_SENSORS_QBT2000)	+= fingerprint_common.o fingerprint_common_lsi.o qbt2000_common.o qbt2000_platform.o
endif
endif
ifeq ($(CONFIG_SENSORS_FINGERPRINT_QCOM),y)
ifeq ($(CONFIG_SENSORS_QBT2000),m)
obj-$(CONFIG_SENSORS_FINGERPRINT)	+= fingerprint.o fingerprint_sysfs.o
obj-$(CONFIG_SENSORS_QBT2000)			+= qbt2000_spidev.o
fingerprint-$(CONFIG_SENSORS_QBT2000)	+= fingerprint_common.o fingerprint_common_qcom.o qbt2000_common.o qbt2000_platform.o
endif
endif
ifeq ($(CONFIG_SENSORS_FINGERPRINT_MTK),y)
ifeq ($(CONFIG_SENSORS_QBT2000),m)
obj-$(CONFIG_SENSORS_FINGERPRINT)	+= fingerprint.o fingerprint_sysfs.o
obj-$(CONFIG_SENSORS_QBT2000)			+= qbt2000_spidev.o
fingerprint-$(CONFIG_SENSORS_QBT2000)	+= fingerprint_common.o fingerprint_common_mtk.o qbt2000_common.o qbt2000_platform.o
endif
endif
endif
ifeq ($(CONFIG_SENSORS_FINGERPRINT),y)

obj-$(CONFIG_SENSORS_FINGERPRINT)	+= fingerprint.o fingerprint_sysfs.o

fingerprint-$(CONFIG_SENSORS_FINGERPRINT)	+= fingerprint_common.o
fingerprint-$(CONFIG_SENSORS_FINGERPRINT_LSI)	+= fingerprint_common_lsi.o
fingerprint-$(CONFIG_SENSORS_FINGERPRINT_QCOM)	+= fingerprint_common_qcom.o
fingerprint-$(CONFIG_SENSORS_FINGERPRINT_MTK)	+= fingerprint_common_mtk.o

fingerprint-$(CONFIG_SENSORS_QBT2000)	+= qbt2000_common.o qbt2000_platform.o
obj-$(CONFIG_SENSORS_QBT2000)			+= qbt2000_spidev.o
fingerprint-$(CONFIG_SENSORS_ET5XX)		+= et5xx-spi.o et5xx-spi_data_transfer.o et5xx-spi_platform.o
fingerprint-$(CONFIG_SENSORS_ET7XX)		+= et7xx-spi.o et7xx-spi_data_transfer.o et7xx-spi_platform.o
fingerprint-$(CONFIG_SENSORS_GW3X)		+= gw3x_common.o gw3x_platform.o gw3x_spidev.o
fingerprint-$(CONFIG_SENSORS_GW9558X)	+= gw9558x_common.o gw9558x_platform.o gw9558x_spidev.o

endif