summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorAlexander Dahl <ada@thorsis.com>2021-10-25 15:09:09 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2021-10-29 08:22:27 +0200
commit609370bb5cb27050bf7c90edacbc6145f2c50723 (patch)
treede567d6663f06e2dd2214c237d430e63b7f80f9f /doc
parent1f4688b04f35887b7abfbde8004351f40b2b8d43 (diff)
downloadptxdist-609370bb5cb27050bf7c90edacbc6145f2c50723.tar.gz
ptxdist-609370bb5cb27050bf7c90edacbc6145f2c50723.tar.xz
Add macro 'noyes' as reverse of 'yesno'
This will be useful for some packages using scons. Signed-off-by: Alexander Dahl <ada@thorsis.com> Message-Id: <20211025130910.7257-2-ada@thorsis.com> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'doc')
-rw-r--r--doc/ref_make_macros.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/ref_make_macros.rst b/doc/ref_make_macros.rst
index ae65cb940..730687daf 100644
--- a/doc/ref_make_macros.rst
+++ b/doc/ref_make_macros.rst
@@ -673,6 +673,7 @@ Usage:
$(call ptx/wow, VARIABLE)
$(call ptx/wwo, VARIABLE)
$(call ptx/yesno, VARIABLE)
+ $(call ptx/noyes, VARIABLE)
$(call ptx/truefalse, VARIABLE)
$(call ptx/falsetrue, VARIABLE)
$(call ptx/onoff, VARIABLE)
@@ -694,6 +695,8 @@ These are useful for ``<PKG>_CONF_OPT`` variables, and expand as follows:
+--------------------+-------------------------------+---------------------------------+---------------------+
| ptx/yesno | ``yes`` | ``no`` | autoconf cache vars |
+--------------------+-------------------------------+---------------------------------+---------------------+
+| ptx/noyes | ``no`` | ``yes`` | scons |
++--------------------+-------------------------------+---------------------------------+---------------------+
| ptx/truefalse | ``true`` | ``false`` | meson |
+--------------------+-------------------------------+---------------------------------+---------------------+
| ptx/falsetrue | ``false`` | ``true`` | meson |