menuconfig KCONFIG_EXTERNAL_PKG_1 bool "Configure external package message 1" default y help This will enable configuring the external package message if KCONFIG_EXTERNAL_PKG_1 config EXTERNAL_PKG_1_MESSAGE string "External package 1 text" default "External package message 1 defined in Kconfig file" endif # KCONFIG_EXTERNAL_PKG_1 config PACKAGE_EXTERNAL_PKG_1 bool "Select external pkg 1" depends on TEST_KCONFIG