From 631c51fc94575a7cfc88e5755eaf550e77622f8c Mon Sep 17 00:00:00 2001 From: Ulf Magnusson Date: Sat, 6 Oct 2018 06:06:17 +0200 Subject: Point to IS_ENABLED() is README Might be tricky to discover. --- README.rst | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'README.rst') 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 +`_ +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 --------------------- -- cgit v1.2.3