build: add option to warn on recursive dependency
authorEneas U de Queiroz <cotequeiroz@gmail.com>
Tue, 7 Apr 2020 20:07:24 +0000 (17:07 -0300)
committerPetr Štetiar <ynezz@true.cz>
Thu, 9 Apr 2020 10:51:10 +0000 (12:51 +0200)
commit3204430e38f1a2ba7fda9471720a2a1042adf5e0
tree09c37c01356709c5596609e22616f7d9f208a79c
parentdcf3e63a35d05e7e5103819c0f17195bfafe9baa
build: add option to warn on recursive dependency

This addes the option to treat recursive dependencies as warnings
instead of errors, by running make with WARN_RECURSIVE_DEP=1.

Note that the script/config targets will not get rebuilt when you add or
remove WARN_RECURSIVE_DEP while running make.  One must run
'make config-clean' before building config with a different setting.

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
include/toplevel.mk
scripts/config/README
scripts/config/symbol.c