menu "Menu for CHIPA" visible if IDF_TARGET_CHIPA config EXT_CONFIG1_FOR_CHIPA_MENU bool "Config for chip A" depends on IDF_TARGET_CHIPA config EXT_CONFIG2_FOR_CHIPA_MENU bool "Config for chip A (depend on the visibility of the menu)" endmenu config EXT_CONFIG3_FOR_CHIPA bool "Config for chip A" depends on IDF_TARGET_CHIPA config EXT_CONFIG4 bool "Config for every chip (note that the config is defined at multiple places)" depends on IDF_TARGET_CHIPA