touch_driver_board.mk 957 B

123456789101112131415161718192021222324252627
  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. ifneq ($(TARGET_BOARD_AUTO),true)
  9. ifeq ($(call is-board-platform-in-list,$(TARGET_BOARD_PLATFORM)),true)
  10. ifeq ($(TARGET_BOARD_PLATFORM), pineapple)
  11. BOARD_VENDOR_KERNEL_MODULES += $(KERNEL_MODULES_OUT)/nt36xxx-i2c.ko \
  12. $(KERNEL_MODULES_OUT)/goodix_ts.ko \
  13. $(KERNEL_MODULES_OUT)/atmel_mxt_ts.ko \
  14. $(KERNEL_MODULES_OUT)/synaptics_tcm_ts.ko
  15. else # pineapple
  16. BOARD_VENDOR_KERNEL_MODULES += $(KERNEL_MODULES_OUT)/nt36xxx-i2c.ko \
  17. $(KERNEL_MODULES_OUT)/goodix_ts.ko \
  18. $(KERNEL_MODULES_OUT)/atmel_mxt_ts.ko \
  19. $(KERNEL_MODULES_OUT)/synaptics_tcm_ts.ko \
  20. $(KERNEL_MODULES_OUT)/pt_ts.ko \
  21. $(KERNEL_MODULES_OUT)/pt_i2c.ko \
  22. $(KERNEL_MODULES_OUT)/pt_device_access.ko
  23. endif # pineapple
  24. endif
  25. endif
  26. endif