BoardConfig.mk 935 B

1234567891011121314151617181920212223242526272829303132333435
  1. #
  2. # Copyright (C) 2022 The LineageOS Project
  3. #
  4. # SPDX-License-Identifier: Apache-2.0
  5. #
  6. # Inherit from xiaomi sm8450-common
  7. include device/xiaomi/sm8450-common/BoardConfigCommon.mk
  8. # Inherit from the proprietary version
  9. include vendor/xiaomi/cupid/BoardConfigVendor.mk
  10. DEVICE_PATH := device/xiaomi/cupid
  11. # Kernel
  12. device_second_stage_modules := \
  13. goodix_fod.ko \
  14. qcom_pm8008-regulator.ko \
  15. fts_touch_spi.ko \
  16. aw8697-haptic.ko
  17. device_vendor_dlkm_exclusive_modules := \
  18. cs35l41_dlkm.ko
  19. BOARD_VENDOR_RAMDISK_RECOVERY_KERNEL_MODULES_LOAD += $(device_second_stage_modules)
  20. BOARD_VENDOR_KERNEL_MODULES_LOAD += $(device_second_stage_modules) $(device_vendor_dlkm_exclusive_modules)
  21. BOOT_KERNEL_MODULES += $(device_second_stage_modules)
  22. # Properties
  23. TARGET_SYSTEM_PROP += $(DEVICE_PATH)/properties/system.prop
  24. TARGET_VENDOR_PROP += $(DEVICE_PATH)/properties/vendor.prop
  25. # Screen density
  26. TARGET_SCREEN_DENSITY := 440