diff options
| author | Ulf Magnusson <ulfalizer@gmail.com> | 2018-10-06 06:06:17 +0200 |
|---|---|---|
| committer | Ulf Magnusson <ulfalizer@gmail.com> | 2018-10-06 06:06:17 +0200 |
| commit | 631c51fc94575a7cfc88e5755eaf550e77622f8c (patch) | |
| tree | ba03e5a1bd89343ce22d8269a72bc706e58ca553 | |
| parent | e6b6b5fe8e8097615ff9423a1d00996f279cb95e (diff) | |
Point to IS_ENABLED() is README
Might be tricky to discover.
| -rw-r--r-- | README.rst | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -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 --------------------- |
