[PATCH 2/2] docs: kbuild: document KBUILD_RPM_WITH_DEVEL

From: Pratham Patel
Date: Wed Apr 17 2024 - 00:38:20 EST


KBUILD_RPM_WITH_DEVEL was added to toggle the `with_devel` RPM macro.
Add brief documentation on its usage.

Signed-off-by: Pratham Patel <prathampatel@xxxxxxxxxxxxxx>
---
Documentation/kbuild/kbuild.rst | 6 ++++++
1 file changed, 6 insertions(+)

diff --git a/Documentation/kbuild/kbuild.rst b/Documentation/kbuild/kbuild.rst
index 9c8d1d046ea5..0b7ae268ac67 100644
--- a/Documentation/kbuild/kbuild.rst
+++ b/Documentation/kbuild/kbuild.rst
@@ -310,6 +310,12 @@ These two variables allow to override the user@host string displayed during
boot and in /proc/version. The default value is the output of the commands
whoami and host, respectively.

+KBUILD_RPM_WITH_DEVEL
+---------------------
+This variable dictates weather creating an RPM package also builds a `-devel`
+package or not. Set to 1 if you want a `-devel` package. The default value
+is 0.
+
LLVM
----
If this variable is set to 1, Kbuild will use Clang and LLVM utilities instead
--
2.42.0