The $srctree environment variable gives the path relative to which '(o)source' statements work (the current directory is used if $srctree is unset). It is set to $ZEPHYR_BASE in cmake/kconfig.cmake, so there's no need to qualify the source of Kconfig.zephyr in sample Kconfig files (or in external projects). All 'source's in Zephyr assume that the Zephyr root directory is used as the srctree as well, and would break otherwise. Remove the $(ZEPHYR_BASE)s to make it clearer that all 'source' statements work relative to the Zephyr root. There was some user confusion on IRC. Also explain how things work in the documentation. Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
49 lines
1.1 KiB
Plaintext
49 lines
1.1 KiB
Plaintext
# Kconfig - Private config options for traffic class sample app
|
|
|
|
#
|
|
# Copyright (c) 2018 Intel Corporation
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
#
|
|
|
|
mainmenu "Networking traffic class sample application"
|
|
|
|
config SAMPLE_VLAN_TAG
|
|
int "Virtual lan tag used in sample app"
|
|
default 100
|
|
range 0 4094
|
|
depends on NET_VLAN
|
|
help
|
|
Set virtual lan tag (id) that is used in sample application.
|
|
|
|
config SAMPLE_VLAN_TAG_2
|
|
int "Second VLAN tag used in sample app"
|
|
default 200
|
|
range 0 4094
|
|
depends on NET_VLAN
|
|
help
|
|
Set virtual lan tag (id) that is used in sample application.
|
|
|
|
config SAMPLE_IPV6_ADDR_2
|
|
string "My IPv6 address for second interface"
|
|
help
|
|
The value depends on your network setup.
|
|
|
|
config SAMPLE_IPV4_ADDR_2
|
|
string "My IPv4 address for second interface"
|
|
help
|
|
The value depends on your network setup.
|
|
|
|
config SAMPLE_PEER_IPV6_ADDR_2
|
|
string "Peer IPv6 address for second interface"
|
|
help
|
|
The value depends on your network setup.
|
|
|
|
config SAMPLE_PEER_IPV4_ADDR_2
|
|
string "Peer IPv4 address for second interface"
|
|
help
|
|
The value depends on your network setup.
|
|
|
|
|
|
source "Kconfig.zephyr"
|