Bluetooth: Fix compilation for entropy_bt_hci
An application with the following config fails to link on nrf53 app core: ``` CONFIG_BT=y CONFIG_BT_HCI_RAW=y CONFIG_ENTROPY_GENERATOR=y ``` This happens because `entropy_bt_hci.c` uses functions from `hci_core.c`, which is only compiled if `BT_HCI_HOST` is selected. Signed-off-by: Herman Berget <herman.berget@nordicsemi.no>
This commit is contained in:
parent
acbdbb15dd
commit
bfbbaf2cdb
2 changed files with 2 additions and 2 deletions
|
@ -4,7 +4,7 @@
|
|||
|
||||
config ENTROPY_BT_HCI
|
||||
bool "Bluetooth HCI RNG driver"
|
||||
depends on BT_HCI
|
||||
depends on BT_HCI_HOST
|
||||
select ENTROPY_HAS_DRIVER
|
||||
help
|
||||
Enable Random Number Generator from a Bluetooth HCI device.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue