Let's remove depends on NET_LLDP from all the options. It avoids this: # CONFIG_NET_LLDP is not set # CONFIG_NET_LLDP_LOG_LEVEL_OFF is not set # CONFIG_NET_LLDP_LOG_LEVEL_ERR is not set # CONFIG_NET_LLDP_LOG_LEVEL_WRN is not set # CONFIG_NET_LLDP_LOG_LEVEL_INF is not set # CONFIG_NET_LLDP_LOG_LEVEL_DBG is not set CONFIG_NET_LLDP_LOG_LEVEL_DEFAULT=y CONFIG_NET_LLDP_LOG_LEVEL=3 CONFIG_NET_LLDP_CHASSIS_ID="CHASSIS_ID_PLACEHOLDER" CONFIG_NET_LLDP_PORT_ID="PORT_ID_PLACEHOLDER" And instead it will generate this: # CONFIG_NET_LLDP is not set Make the menu as an enablement config option as well. Adapting lldp header file relevantly. Signed-off-by: Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com> |
||
|---|---|---|
| .. | ||
| CMakeLists.txt | ||
| Kconfig | ||
| lldp.c | ||