[linux-yocto] [PATCH 2/3] meta: features/bluetooth: add configuration fragment for Bluetooth support
Max Eliaser
max.eliaser at intel.com
Fri Aug 15 10:11:14 PDT 2014
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
elsewhere.
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>
---
meta/cfg/kernel-cache/bsp/intel-common/intel-common-standard.scc | 3 +++
meta/cfg/kernel-cache/features/bluetooth/bluetooth.cfg | 1 +
meta/cfg/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 1d0a502..f531b82 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
@@ -39,6 +39,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 @@
+CONFIG_BT=y
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
--
1.8.3.2
More information about the linux-yocto
mailing list