Bluetooth: controller: Move ll.h to an include folder

To present a common interface to both software and hardware Link Layers
the API in ll.h now lives in its own separate include/ folder.

Change-Id: I2b0ab0d11b47b9c35a5759bcc30f347e6c616648
Signed-off-by: Carles Cufi <carles.cufi@nordicsemi.no>
This commit is contained in:
Carles Cufi 2017-03-14 14:48:54 +01:00 committed by Johan Hedberg
commit a7f6656998
9 changed files with 13 additions and 7 deletions

View file

@ -1,7 +1,8 @@
ccflags-$(CONFIG_BLUETOOTH_LL_SW) += -I$(srctree)/subsys/bluetooth/controller/util
ccflags-$(CONFIG_BLUETOOTH_LL_SW) += -I$(srctree)/subsys/bluetooth/controller/hal
ccflags-$(CONFIG_BLUETOOTH_LL_SW) += -I$(srctree)/subsys/bluetooth/controller/ticker
ccflags-$(CONFIG_BLUETOOTH_LL_SW) += -I$(srctree)/subsys/bluetooth/controller/ll
ccflags-$(CONFIG_BLUETOOTH_LL_SW) += -I$(srctree)/subsys/bluetooth/controller/ll_sw
ccflags-$(CONFIG_BLUETOOTH_LL_SW) += -I$(srctree)/subsys/bluetooth/controller/include
obj-$(CONFIG_BLUETOOTH_LL_SW) += util/mem.o
obj-$(CONFIG_BLUETOOTH_LL_SW) += util/memq.o
obj-$(CONFIG_BLUETOOTH_LL_SW) += util/mayfly.o
@ -11,7 +12,6 @@ obj-$(CONFIG_BLUETOOTH_LL_SW) += hal/nrf5/rand.o
obj-$(CONFIG_BLUETOOTH_LL_SW) += hal/nrf5/ecb.o
obj-$(CONFIG_BLUETOOTH_LL_SW) += hal/nrf5/radio.o
obj-$(CONFIG_BLUETOOTH_LL_SW) += ticker/ticker.o
obj-$(CONFIG_BLUETOOTH_LL_SW) += ll/ctrl.o
obj-$(CONFIG_BLUETOOTH_LL_SW) += ll/ll.o
obj-$(CONFIG_BLUETOOTH_LL_SW) += ll_sw/
obj-$(CONFIG_BLUETOOTH_CONTROLLER) += hci/hci_driver.o
obj-$(CONFIG_BLUETOOTH_CONTROLLER) += hci/hci.o

View file

@ -41,10 +41,10 @@
#include "hal/cntr.h"
#include "hal/cpu.h"
#include "ticker/ticker.h"
#include "ll/pdu.h"
#include "ll/ctrl.h"
#include "ll/ctrl_internal.h"
#include "ll/ll.h"
#include "ll_sw/pdu.h"
#include "ll_sw/ctrl.h"
#include "ll_sw/ctrl_internal.h"
#include "ll.h"
#include "hci_internal.h"
#include "hal/debug.h"

View file

@ -0,0 +1,6 @@
ccflags-$(CONFIG_BLUETOOTH_LL_SW) += -I$(srctree)/subsys/bluetooth/controller/util
ccflags-$(CONFIG_BLUETOOTH_LL_SW) += -I$(srctree)/subsys/bluetooth/controller/hal
ccflags-$(CONFIG_BLUETOOTH_LL_SW) += -I$(srctree)/subsys/bluetooth/controller/ticker
ccflags-$(CONFIG_BLUETOOTH_LL_SW) += -I$(srctree)/subsys/bluetooth/controller/include
obj-$(CONFIG_BLUETOOTH_LL_SW) += ctrl.o
obj-$(CONFIG_BLUETOOTH_LL_SW) += ll.o