#
# Makefile for lge touch core driver
#

# Each configuration option enables a list of files.

ifdef CONFIG_LGE_TOUCH_CORE_MTK
	subdir-ccflags-y += -Werror
	subdir-ccflags-y += -I$(srctree)/drivers/misc/mediatek/include/mt-plat/$(MTK_PLATFORM)/include
	subdir-ccflags-y += -I$(srctree)/drivers/misc/mediatek/include/mt-plat/
endif

# Touch Core Driver Common Header Code..!!
ccflags-y += -I$(srctree)/drivers/input/touchscreen/mediatek/gt917d/

obj-$(CONFIG_LGE_TOUCH_CORE_BASE)	+= touch_core.o
obj-$(CONFIG_LGE_TOUCH_CORE_BASE)	+= touch_core_sysfs.o
obj-$(CONFIG_LGE_TOUCH_CORE_BASE)	+= touch_common.o
obj-$(CONFIG_LGE_TOUCH_CORE_BASE)	+= touch_i2c.o
obj-$(CONFIG_LGE_TOUCH_CORE_BASE)	+= touch_spi.o
obj-$(CONFIG_LGE_TOUCH_CORE_BASE)	+= touch_model.o
obj-$(CONFIG_LGE_TOUCH_CORE_BASE)	+= touch_notify.o

obj-$(CONFIG_LGE_TOUCH_CORE_QCT)	+= touch_hwif.o
obj-$(CONFIG_LGE_TOUCH_CORE_MTK)	+= touch_hwif_mtk.o

#ifdef CONFIG_LGE_TOUCH_JDM
#obj-$(CONFIG_LGE_TOUCH_CORE_BASE)	+= jdm/
#else
#obj-$(CONFIG_LGE_TOUCH_CORE_BASE)	+= lgsic/
#obj-$(CONFIG_LGE_TOUCH_CORE_BASE)	+= synaptics/
#obj-$(CONFIG_LGE_TOUCH_CORE_BASE)	+= melfas/
#obj-$(CONFIG_LGE_TOUCH_CORE_BASE)	+= sharp/
#obj-$(CONFIG_LGE_TOUCH_CORE_BASE)	+= novatek/
#obj-$(CONFIG_LGE_TOUCH_CORE_BASE)	+= sentron/
#obj-$(CONFIG_LGE_TOUCH_CORE_BASE)	+= focaltech/
#obj-$(CONFIG_LGE_TOUCH_CORE_BASE)	+= ilitek/
#obj-$(CONFIG_LGE_TOUCH_CORE_BASE)	+= himax/
#obj-$(CONFIG_LGE_TOUCH_CORE_BASE)	+= goodix/
#endif

obj-$(CONFIG_LGE_TOUCH_GOODIX_GT917D)  += touch_gt917d.o
obj-$(CONFIG_LGE_TOUCH_GOODIX_GT917D)  += touch_gt917d_prd.o
obj-$(CONFIG_LGE_TOUCH_GOODIX_GT917D)  += touch_gt917d_tool.o
obj-$(CONFIG_LGE_TOUCH_GOODIX_GT917D)  += touch_gt917d_upgrade.o
