common: Kconfig: SYS_CONSOLE_ENV_OVERWRITE depends on SYS_CONSOLE_IS_IN_ENV
authorYing Sun <sunying@nj.iscas.ac.cn>
Sun, 25 Jun 2023 08:52:07 +0000 (16:52 +0800)
committerTom Rini <trini@konsulko.com>
Fri, 7 Jul 2023 20:25:56 +0000 (16:25 -0400)
commit29f925d8f9c7d0e1aea340e537e2423f659f851d
tree5ddf4346f914ccf47e268b27b295f72679d8aa9a
parentaadc1a60694bfee09203fb30357ac9887d9691e2
common: Kconfig: SYS_CONSOLE_ENV_OVERWRITE depends on SYS_CONSOLE_IS_IN_ENV

CONFIG_SYS_CONSOLE_ENV_OVERWRITE is implemented in common/console.c
when "#if CONFIG_IS_ENABLED(SYS_CONSOLE_IS_IN_ENV)" is met.

It is recommended to add dependency constraints to its definition.

Suggested-by: Yanjie Ren <renyanjie01@gmail.com>
Signed-off-by: Ying Sun <sunying@nj.iscas.ac.cn>
common/Kconfig