bt-kernel: Additional bazel configuration

- add support to copy *.ko to out dir
- enable conditional compilation with config flags
- enable CONFIG_BT_HW_SECURE_DISABLE with dependency on securemsm-kernel
- re-enable compilation of bt_fm_slim with new headers
- add fallthrough attribute btfm_slim_hw_interface.c
- move BTFMSLIM_DEV_NAME to btfm_slim.h
- add target.bzl file to define specific targets

Change-Id: I7f7920870d81125f95b020ef33df77df3f937682
Signed-off-by: Franklin Abreu Bueno <quic_fabreu@quicinc.com>
This commit is contained in:
Franklin Abreu Bueno
2023-02-06 16:04:44 -08:00
committed by Gerrit - the friendly Code Review server
parent 15d9682357
commit 176b51aefa
8 changed files with 140 additions and 34 deletions

View File

@@ -1,5 +1,13 @@
load(":bt_kernel.bzl", "define_bt_modules")
load("//build/kernel/kleaf:kernel.bzl", "ddk_headers")
targets = ["pineapple"]
ddk_headers(
name = "btfmcodec_headers",
hdrs = glob([
"btfmcodec/include/*.h"
]),
includes = ["btfmcodec/include"]
)
define_bt_modules(targets)
load(":target.bzl", "define_pineapple")
define_pineapple()