[linux-yocto] [PATCH 1/4] features: Add 6lowpan feature and add it where necessary
California Sullivan
california.l.sullivan at intel.com
Mon Aug 29 12:49:08 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>
Signed-off-by: Bruce Ashfield <bruce.ashfield at windriver.com>
---
features/6lowpan/6lowpan.cfg | 7 +++++++
features/6lowpan/6lowpan.scc | 4 ++++
features/bluetooth/bluetooth.scc | 2 ++
features/ieee802154/ieee802154.scc | 2 ++
4 files changed, 15 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..f3035d9
--- /dev/null
+++ b/features/6lowpan/6lowpan.scc
@@ -0,0 +1,4 @@
+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