forked from zephyrproject-rtos/zephyr
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathKconfig.hostname
36 lines (29 loc) · 869 Bytes
/
Kconfig.hostname
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# 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.
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