Removing Bluetooth from Yocto Build

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Removing Bluetooth from Yocto Build

1,399 Views
MichaelBMiner
Contributor IV

I am trying to build a linux image and trying to keep it small. 

 

 

core-image-full-cmdline

 

 

I need very few features. I need to remove bluetooth to save space so I added 

 

 

DISTRO_FEATURES_remove = "3g alsa bluetooth irda nfc opengl pci pcmcia pulseaudio"

 

 

to my local.conf file. When I flash my SD card and booth the device I still a lot of bluetooth initialization occurring.

 

 

[    1.196265] Bluetooth: HCI device and connection manager initialized
[    1.196310] Bluetooth: HCI socket layer initialized
[    1.196343] Bluetooth: L2CAP socket layer initialized
[    1.196405] Bluetooth: SCO socket layer initialized

 

 

I have tried the PACKAGES_EXCLUDE, MACHINE_FEATURES_remove. Nothing gets rid of BT. What am I missing?

Labels (3)
0 Kudos
1 Reply

1,379 Views
b36401
NXP Employee
NXP Employee

Please try to set bluetooth status to disabled in the device tree.

0 Kudos