How to remove Bluetooth from Android build?

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

How to remove Bluetooth from Android build?

2,903件の閲覧回数
esteban_vazquez
Contributor I

I am working with Android Open Source Project (AOSP) on an IMX based board. I would like to exclude the bluetooth modules from the compilation.

I used "mgrep" to look into the Makefiles to find references to the Bluetooth but I couldn't figure out which options I need to add or remove.

I would like to know which Makefiles and config files I would need to edit. How do I remove Bluetooth from Android build?

ラベル(3)
0 件の賞賛
返信
1 返信

2,671件の閲覧回数
shivanipatel
Senior Contributor II

Hi, Esteban Vazquez

You need to disable following configurations in order to remove Bluetooth Module from the Build.

  • UART interface
    • CONFIG_SERIAL_IMX
    • CONFIG_TTY
  • HCI interface
    • CONFIG_BT_HCIUART
    • CONFIG_BT_HCIUART_H4
  • Bluetooth Stack
    • CONFIG_BT
    • CONFIG_BT_RFCOMM
    • CONFIG_BT_RFCOMM_TTY
    • CONFIG_BT_BNEP
    • CONFIG_BT_BNEP_MC_FILTER
    • CONFIG_BT_BNEP_PROTO_FILTER
    • CONFIG_BT_HIDP

Hope this will help you.

Regards,

Shivani

0 件の賞賛
返信