mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-09-09 00:52:38 +00:00
Bool symbols implicitly default to 'n'. A 'default n' can make sense e.g. in a Kconfig.defconfig file, if you want to override a 'default y' on the base definition of the symbol. It isn't used like that on any of these symbols though. Remove some 'default ""' properties on string symbols too. Also make definitions more consistent by converting some config FOO <type> prompt "foo" definitions to a shorter form: config FOO <type> "foo" This shorthand works for int/hex/string symbols too, not just for bool symbols. Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
37 lines
807 B
Plaintext
37 lines
807 B
Plaintext
# Kconfig - 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.
|
|
|
|
config NET_DEBUG_HOSTNAME
|
|
bool "Debug hostname configuration"
|
|
depends on NET_LOG
|
|
help
|
|
Enables hostname configuration functions to output debug messages
|
|
|
|
endif
|