kconfig: enclose module Kconfigs into a menu

Solve the issue of having all module Kconfig land in the top level
Kconfig menu when viewed in menuconfig.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
Anas Nashif 2019-05-28 14:22:51 -04:00
parent 4d8941a91d
commit 658f6bc71f

View file

@ -7,8 +7,12 @@
# SPDX-License-Identifier: Apache-2.0
#
menu "Modules"
source "$(CMAKE_BINARY_DIR)/Kconfig.modules"
endmenu
# Include these first so that any properties (e.g. defaults) below can be
# overriden in *.defconfig files (by defining symbols in multiple locations).
# After merging all the symbol definitions, Kconfig picks the first property