From 56a77f833bf10694403fad5ced62639300660a99 Mon Sep 17 00:00:00 2001 From: Carles Cufi Date: Thu, 28 Mar 2019 17:51:39 +0100 Subject: [PATCH] doc: Enable undef warnings in Kconfig When generating the Kconfig reference documentation, enable the warnings for undefined Kconfig options in order to make sure all references are met. Signed-off-by: Carles Cufi --- doc/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/doc/CMakeLists.txt b/doc/CMakeLists.txt index 611a7a182ae397..50fc57dbd3ee69 100644 --- a/doc/CMakeLists.txt +++ b/doc/CMakeLists.txt @@ -193,6 +193,7 @@ add_custom_target( SOC_DIR=soc/ SRCARCH=x86 CMAKE_BINARY_DIR=${CMAKE_BINARY_DIR} + KCONFIG_WARN_UNDEF=y KCONFIG_TURBO_MODE=${KCONFIG_TURBO_MODE} KCONFIG_DOC_MODE=1 ${PYTHON_EXECUTABLE} scripts/genrest.py Kconfig ${RST_OUT}/doc/reference/kconfig/