target.bzl 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. load(":bt_kernel.bzl", "define_bt_modules")
  2. def define_pineapple():
  3. define_bt_modules(
  4. target = "pineapple",
  5. modules = [
  6. "btpower",
  7. "bt_fm_slim",
  8. "radio-i2c-rtc6226-qca",
  9. # "btfm_slim_codec",
  10. ],
  11. config_options = [
  12. "CONFIG_MSM_BT_POWER",
  13. "CONFIG_BTFM_SLIM",
  14. "CONFIG_I2C_RTC6226_QCA",
  15. # "CONFIG_SLIM_BTFM_CODEC",
  16. "CONFIG_BT_HW_SECURE_DISABLE",
  17. ]
  18. )
  19. def define_blair():
  20. define_bt_modules(
  21. target = "blair",
  22. modules = [
  23. "btpower",
  24. "bt_fm_slim",
  25. "radio-i2c-rtc6226-qca",
  26. ],
  27. config_options = [
  28. "CONFIG_MSM_BT_POWER",
  29. "CONFIG_BTFM_SLIM",
  30. "CONFIG_I2C_RTC6226_QCA",
  31. "CONFIG_BT_HW_SECURE_DISABLE",
  32. ]
  33. )
  34. def define_pitti():
  35. define_bt_modules(
  36. target = "pitti",
  37. modules = [
  38. "btpower",
  39. "bt_fm_slim",
  40. "radio-i2c-rtc6226-qca",
  41. ],
  42. config_options = [
  43. "CONFIG_MSM_BT_POWER",
  44. "CONFIG_BTFM_SLIM",
  45. "CONFIG_I2C_RTC6226_QCA",
  46. "CONFIG_BT_HW_SECURE_DISABLE",
  47. ]
  48. )
  49. def define_niobe():
  50. define_bt_modules(
  51. target = "niobe",
  52. modules = [
  53. "btpower",
  54. "bt_fm_slim",
  55. "radio-i2c-rtc6226-qca",
  56. ],
  57. config_options = [
  58. "CONFIG_MSM_BT_POWER",
  59. "CONFIG_BTFM_SLIM",
  60. "CONFIG_I2C_RTC6226_QCA",
  61. "CONFIG_BT_HW_SECURE_DISABLE",
  62. ]
  63. )
  64. def define_anorak61():
  65. define_bt_modules(
  66. target = "anorak",
  67. modules = [
  68. "btpower",
  69. "bt_fm_slim",
  70. "radio-i2c-rtc6226-qca",
  71. ],
  72. config_options = [
  73. "CONFIG_MSM_BT_POWER",
  74. "CONFIG_BTFM_SLIM",
  75. "CONFIG_I2C_RTC6226_QCA",
  76. "CONFIG_BT_HW_SECURE_DISABLE",
  77. ]
  78. )