[linux-yocto] [PATCH 1/3] features: Add 6lowpan feature and add it where necessary

California Sullivan california.l.sullivan at intel.com
Wed Aug 17 19:43:44 PDT 2016


For now just add the minimum configuration necessary to support other
6LoWPAN options we are already trying to enable. Fixes some
configuration warnings that occur due to missing dependencies.

Signed-off-by: California Sullivan <california.l.sullivan at intel.com>
---
 features/6lowpan/6lowpan.cfg       | 7 +++++++
 features/6lowpan/6lowpan.scc       | 5 +++++
 features/bluetooth/bluetooth.scc   | 2 ++
 features/ieee802154/ieee802154.scc | 2 ++
 4 files changed, 16 insertions(+)
 create mode 100644 features/6lowpan/6lowpan.cfg
 create mode 100644 features/6lowpan/6lowpan.scc

diff --git a/features/6lowpan/6lowpan.cfg b/features/6lowpan/6lowpan.cfg
new file mode 100644
index 0000000..abac6b1
--- /dev/null
+++ b/features/6lowpan/6lowpan.cfg
@@ -0,0 +1,7 @@
+# Dependencies
+CONFIG_NET=y
+CONFIG_INET=y
+CONFIG_IPV6=y
+
+# Feature
+CONFIG_6LOWPAN=m
diff --git a/features/6lowpan/6lowpan.scc b/features/6lowpan/6lowpan.scc
new file mode 100644
index 0000000..9601396
--- /dev/null
+++ b/features/6lowpan/6lowpan.scc
@@ -0,0 +1,5 @@
+define KFEATURE_DESCRIPTION "Enable 6LoWPAN support"
+define KFEATURE_COMPATIBILITY board
+
+kconf hardware 6lowpan.cfg
+
diff --git a/features/bluetooth/bluetooth.scc b/features/bluetooth/bluetooth.scc
index 53d000e..55a4ba9 100644
--- a/features/bluetooth/bluetooth.scc
+++ b/features/bluetooth/bluetooth.scc
@@ -1 +1,3 @@
 kconf hardware bluetooth.cfg
+
+include features/6lowpan/6lowpan.scc
diff --git a/features/ieee802154/ieee802154.scc b/features/ieee802154/ieee802154.scc
index 2f40044..f8f18f8 100644
--- a/features/ieee802154/ieee802154.scc
+++ b/features/ieee802154/ieee802154.scc
@@ -1 +1,3 @@
 kconf hardware ieee802154.cfg
+
+include features/6lowpan/6lowpan.scc
-- 
2.5.5



More information about the linux-yocto mailing list