[linux-yocto] [PATCH 1/6] meta: features/bluetooth: add configuration fragment for Bluetooth support

wei.tee.ng at intel.com wei.tee.ng at intel.com
Fri Jun 19 01:50:41 PDT 2015

From: Max Eliaser <max.eliaser at intel.com>

Instead of adding CONFIG_BT directly to configuration fragments for various
BSPs, it's better to put it in its own fragment which can then be included

This commit also adds the new features/bluetooth/bluetooth.scc to
intel-common-standard.scc, although CONFIG_BT has not been removed from
anywhere else yet for compatibility reasons.

This mostly resolves [YOCTO #1830], and removing other uses of CONFIG_BT will
resolve it completely.

Signed-off-by: Max Eliaser <max.eliaser at intel.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield at windriver.com>
(cherry picked from commit 4a06c37d226c1ee3adfa7f9584c5663f05f6b34e)

Signed-off-by: Ng Wei Tee <wei.tee.ng at intel.com>
 .../bsp/intel-common/intel-common-standard.scc     |    3 +++
 .../kernel-cache/features/bluetooth/bluetooth.cfg  |    1 +
 .../kernel-cache/features/bluetooth/bluetooth.scc  |    1 +
 3 files changed, 5 insertions(+)
 create mode 100644 meta/cfg/kernel-cache/features/bluetooth/bluetooth.cfg
 create mode 100644 meta/cfg/kernel-cache/features/bluetooth/bluetooth.scc

diff --git a/meta/cfg/kernel-cache/bsp/intel-common/intel-common-standard.scc b/meta/cfg/kernel-cache/bsp/intel-common/intel-common-standard.scc
index 6970a3f..a566c4d 100644
--- a/meta/cfg/kernel-cache/bsp/intel-common/intel-common-standard.scc
+++ b/meta/cfg/kernel-cache/bsp/intel-common/intel-common-standard.scc
@@ -38,6 +38,9 @@ include features/ixgbe/ixgbe.scc
 include features/iwlwifi/iwlwifi.scc
 include features/iwlegacy/iwlegacy.scc
+# Various RF/Wireless technologies
+include features/bluetooth/bluetooth.scc
 # Various media device support, like webcams and capture cards
 include features/media/media-all.scc
diff --git a/meta/cfg/kernel-cache/features/bluetooth/bluetooth.cfg b/meta/cfg/kernel-cache/features/bluetooth/bluetooth.cfg
new file mode 100644
index 0000000..9c56e28
--- /dev/null
+++ b/meta/cfg/kernel-cache/features/bluetooth/bluetooth.cfg
@@ -0,0 +1 @@
diff --git a/meta/cfg/kernel-cache/features/bluetooth/bluetooth.scc b/meta/cfg/kernel-cache/features/bluetooth/bluetooth.scc
new file mode 100644
index 0000000..53d000e
--- /dev/null
+++ b/meta/cfg/kernel-cache/features/bluetooth/bluetooth.scc
@@ -0,0 +1 @@
+kconf hardware bluetooth.cfg

More information about the linux-yocto mailing list