touch_driver_product.mk 784 B

1234567891011121314151617181920212223
  1. TOUCH_DLKM_ENABLE := true
  2. ifeq ($(TARGET_KERNEL_DLKM_DISABLE), true)
  3. ifeq ($(TARGET_KERNEL_DLKM_TOUCH_OVERRIDE), false)
  4. TOUCH_DLKM_ENABLE := false
  5. endif
  6. endif
  7. ifeq ($(TOUCH_DLKM_ENABLE), true)
  8. ifeq ($(TARGET_BOARD_PLATFORM), pineapple)
  9. PRODUCT_PACKAGES += $(KERNEL_MODULES_OUT)/nt36xxx-i2c.ko \
  10. $(KERNEL_MODULES_OUT)/goodix_ts.ko \
  11. $(KERNEL_MODULES_OUT)/atmel_mxt_ts.ko \
  12. $(KERNEL_MODULES_OUT)/synaptics_tcm_ts.ko
  13. else # pineapple
  14. PRODUCT_PACKAGES += $(KERNEL_MODULES_OUT)/nt36xxx-i2c.ko \
  15. $(KERNEL_MODULES_OUT)/goodix_ts.ko \
  16. $(KERNEL_MODULES_OUT)/atmel_mxt_ts.ko \
  17. $(KERNEL_MODULES_OUT)/synaptics_tcm_ts.ko \
  18. $(KERNEL_MODULES_OUT)/pt_ts.ko \
  19. $(KERNEL_MODULES_OUT)/pt_i2c.ko \
  20. $(KERNEL_MODULES_OUT)/pt_device_access.ko
  21. endif # pineapple
  22. endif