summaryrefslogtreecommitdiff
path: root/README.rst
diff options
context:
space:
mode:
authorUlf Magnusson <ulfalizer@gmail.com>2018-10-06 06:06:17 +0200
committerUlf Magnusson <ulfalizer@gmail.com>2018-10-06 06:06:17 +0200
commit631c51fc94575a7cfc88e5755eaf550e77622f8c (patch)
treeba03e5a1bd89343ce22d8269a72bc706e58ca553 /README.rst
parente6b6b5fe8e8097615ff9423a1d00996f279cb95e (diff)
Point to IS_ENABLED() is README
Might be tricky to discover.
Diffstat (limited to 'README.rst')
-rw-r--r--README.rst11
1 files changed, 11 insertions, 0 deletions
diff --git a/README.rst b/README.rst
index 9b3601b..173cd84 100644
--- a/README.rst
+++ b/README.rst
@@ -158,6 +158,17 @@ configuration file will always be a "full" configuration file, even if
If you use ``--sync-deps`` to generate incremental build information, you can
include ``deps/auto.conf`` instead, which is also a full configuration file.
+Useful helper macros
+~~~~~~~~~~~~~~~~~~~~
+
+The `include/linux/kconfig.h
+<https://github.com/torvalds/linux/blob/master/include/linux/kconfig.h>`_
+header in the Linux kernel defines some useful helper macros for testing
+Kconfig configuration values.
+
+``IS_ENABLED()`` is generally useful, allowing configuration values to be
+tested in ``if`` statements with no runtime overhead.
+
Library documentation
---------------------