kconfig: error out when seeing recursive dependency
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Wed, 15 Aug 2018 05:59:43 +0000 (14:59 +0900)
committerChristian Lamparter <chunkeey@gmail.com>
Sun, 10 Feb 2019 21:27:09 +0000 (22:27 +0100)
commitec9933f517d25d4bb9026766916da160f10f119d
tree6f946f6334f3aaa2ca6a59eea26953d9a7d1fc6e
parent26221943909b5cb9d403a42d4a35ba0e7f06a496
kconfig: error out when seeing recursive dependency

Originally, recursive dependency was a fatal error for Kconfig
because Kconfig cannot compute symbol values in such a situation.

Commit d595cea62403 ("kconfig: print more info when we see a recursive
dependency") changed it to a warning, which I guess was not intentional.

Get it back to an error again.

Also, rename the unit test directory "warn_recursive_dep" to
"err_recursive_dep" so that it matches to the behavior.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Tested-by: Dirk Gouders <dirk@gouders.net>
Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
config/symbol.c