Kconfig: Include Kconfig.zephyr last in sample Kconfig files

This will make adding properties to symbols in the base Zephyr Kconfig
files work the same as before.

I didn't actually spot any such cases, so this is just to play it safe.
It also makes the sample Kconfig symbols appear at the top in the
menuconfig interface, which might be nice.

Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
This commit is contained in:
Ulf Magnusson 2018-07-31 19:40:29 +02:00 committed by Anas Nashif
parent 3ed9328d33
commit a8aba2f8d0
6 changed files with 18 additions and 12 deletions

View File

@ -8,8 +8,6 @@
mainmenu "Controller Area Network sample application"
source "$ZEPHYR_BASE/Kconfig.zephyr"
config CAN_DEV
string "Name of the CAN device"
default "CAN_1"
@ -46,3 +44,6 @@ config LOOPBACK_MODE
help
Set the controller to loopback mode.
This allows testing without a second board.
source "$ZEPHYR_BASE/Kconfig.zephyr"

View File

@ -15,8 +15,6 @@
mainmenu "gPTP sample application"
source "$ZEPHYR_BASE/Kconfig.zephyr"
if NET_GPTP
config NET_SAMPLE_IFACE2_MY_IPV6_ADDR
@ -58,3 +56,6 @@ config NET_SAMPLE_IFACE3_VLAN_TAG
application.
endif
source "$ZEPHYR_BASE/Kconfig.zephyr"

View File

@ -8,8 +8,6 @@
mainmenu "Network statistics sample application"
source "$ZEPHYR_BASE/Kconfig.zephyr"
config SAMPLE_PERIOD
int "How often to print statistics (in seconds)"
default 30
@ -17,3 +15,6 @@ config SAMPLE_PERIOD
depends on NET_STATISTICS
help
Print statistics after every n. seconds
source "$ZEPHYR_BASE/Kconfig.zephyr"

View File

@ -8,8 +8,6 @@
mainmenu "Networking traffic class sample application"
source "$ZEPHYR_BASE/Kconfig.zephyr"
config SAMPLE_VLAN_TAG
int "Virtual lan tag used in sample app"
default 100
@ -45,3 +43,6 @@ config SAMPLE_PEER_IPV4_ADDR_2
string "Peer IPv4 address for second interface"
help
The value depends on your network setup.
source "$ZEPHYR_BASE/Kconfig.zephyr"

View File

@ -8,8 +8,6 @@
mainmenu "Networking VLAN sample application"
source "$ZEPHYR_BASE/Kconfig.zephyr"
config SAMPLE_VLAN_TAG
int "Virtual lan tag used in VLAN sample app"
default 100
@ -35,3 +33,6 @@ config SAMPLE_IPV4_ADDR_2
string "My IPv4 address for second interface"
help
The value depends on your network setup.
source "$ZEPHYR_BASE/Kconfig.zephyr"

View File

@ -1,7 +1,5 @@
mainmenu "Wi-Fi sample"
source "$ZEPHYR_BASE/Kconfig.zephyr"
if WIFI_WINC1500
config WINC1500_GPIO_DRV_NAME
@ -17,3 +15,6 @@ config WINC1500_GPIO_RESET_N
int "Pin number for Winc1500 RESET_N signal"
endif # WIFI_WINC1500
source "$ZEPHYR_BASE/Kconfig.zephyr"