bd6e04411e
Use this short header style in all Kconfig files: # <description> # <copyright> # <license> ... Also change all <description>s from # Kconfig[.extension] - Foo-related options to just # Foo-related options It's clear enough that it's about Kconfig. The <description> cleanup was done with this command, along with some manual cleanup (big letter at the start, etc.) git ls-files '*Kconfig*' | \ xargs sed -i -E '1 s/#\s*Kconfig[\w.-]*\s*-\s*/# /' Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
34 lines
853 B
Plaintext
34 lines
853 B
Plaintext
# Hostname config
|
|
|
|
# Copyright (c) 2017 Intel Corporation.
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
config NET_HOSTNAME_ENABLE
|
|
bool "Add hostname to the device"
|
|
help
|
|
This is used for example in mDNS to respond to <hostname>.local
|
|
mDNS queries.
|
|
|
|
if NET_HOSTNAME_ENABLE
|
|
|
|
config NET_HOSTNAME
|
|
string "The hostname of this device"
|
|
default "zephyr"
|
|
help
|
|
The string should be a valid hostname.
|
|
|
|
config NET_HOSTNAME_UNIQUE
|
|
bool "Make hostname unique"
|
|
help
|
|
This will append link address to hostname to create a unique
|
|
hostname. For example, zephyr00005e005357 could be the hostname
|
|
if this setting is enabled.
|
|
|
|
module = NET_HOSTNAME
|
|
module-dep = NET_LOG
|
|
module-str = Log level for hostname configuration
|
|
module-help = Enables hostname configuration code to output debug messages.
|
|
source "subsys/net/Kconfig.template.log_config.net"
|
|
|
|
endif
|