Linux 6.9-rc1
[linux-2.6-microblaze.git] / Documentation / Kconfig
index 252bfc1..3a0e7ac 100644 (file)
@@ -1,6 +1,9 @@
+if COMPILE_TEST
+
+menu "Documentation"
+
 config WARN_MISSING_DOCUMENTS
        bool "Warn if there's a missing documentation file"
-       depends on COMPILE_TEST
        help
          It is not uncommon that a document gets renamed.
          This option makes the Kernel to check for missing dependencies,
@@ -11,7 +14,6 @@ config WARN_MISSING_DOCUMENTS
 
 config WARN_ABI_ERRORS
        bool "Warn if there are errors at ABI files"
-       depends on COMPILE_TEST
        help
          The files under Documentation/ABI should follow what's
          described at Documentation/ABI/README. Yet, as they're manually
@@ -20,3 +22,7 @@ config WARN_ABI_ERRORS
          scripts/get_abi.pl. Add a check to verify them.
 
          If unsure, select 'N'.
+
+endmenu
+
+endif