From ec32e41f022f3e68e01d28326cf0e1fae4bcde63 Mon Sep 17 00:00:00 2001 From: Leandro Lanzieri Date: Wed, 2 Mar 2022 14:24:12 +0100 Subject: [PATCH] sys/net/netopt: model in Kconfig --- sys/net/Kconfig | 1 + sys/net/crosslayer/Kconfig | 8 ++++++++ sys/net/crosslayer/netopt/Kconfig | 12 ++++++++++++ 3 files changed, 21 insertions(+) create mode 100644 sys/net/crosslayer/Kconfig create mode 100644 sys/net/crosslayer/netopt/Kconfig diff --git a/sys/net/Kconfig b/sys/net/Kconfig index 9f90b218ea..af9e0f4c5e 100644 --- a/sys/net/Kconfig +++ b/sys/net/Kconfig @@ -9,6 +9,7 @@ menu "Networking" rsource "application_layer/Kconfig" rsource "ble/Kconfig" rsource "credman/Kconfig" +rsource "crosslayer/Kconfig" rsource "gnrc/Kconfig" rsource "sock/Kconfig" rsource "network_layer/Kconfig" diff --git a/sys/net/crosslayer/Kconfig b/sys/net/crosslayer/Kconfig new file mode 100644 index 0000000000..aa26b5cbc1 --- /dev/null +++ b/sys/net/crosslayer/Kconfig @@ -0,0 +1,8 @@ +# Copyright (c) 2022 HAW Hamburg +# +# This file is subject to the terms and conditions of the GNU Lesser +# General Public License v2.1. See the file LICENSE in the top level +# directory for more details. +# + +rsource "netopt/Kconfig" diff --git a/sys/net/crosslayer/netopt/Kconfig b/sys/net/crosslayer/netopt/Kconfig new file mode 100644 index 0000000000..b0324a1fd7 --- /dev/null +++ b/sys/net/crosslayer/netopt/Kconfig @@ -0,0 +1,12 @@ +# Copyright (c) 2022 HAW Hamburg +# +# This file is subject to the terms and conditions of the GNU Lesser +# General Public License v2.1. See the file LICENSE in the top level +# directory for more details. +# + +config MODULE_NETOPT + bool + depends on TEST_KCONFIG + help + Functionalities to map netopt option numbers to strings.