From e08b6957ca935fc97eddd1afda933715016b9b11 Mon Sep 17 00:00:00 2001 From: Ulf Magnusson Date: Wed, 18 Jul 2018 03:05:37 +0200 Subject: Add def_int, def_hex, and def_string keywords Analogous to def_bool and def_tristate, setting the type and adding a default at the same time. This is a Kconfiglib extension. These keywords can be useful in projects that make use of symbols defined in multiple locations, and remove some Kconfig inconsistency. --- README.rst | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'README.rst') diff --git a/README.rst b/README.rst index fe62da8..93d1367 100644 --- a/README.rst +++ b/README.rst @@ -205,6 +205,13 @@ The following Kconfig extensions are available: - A relative ``source`` statement (``rsource``) is available, where file paths are specified relative to the directory of the current Kconfig file. An ``orsource`` statement is available as well, analogous to ``osource``. + +- ``def_int``, ``def_hex``, and ``def_string`` are available in addition to + ``def_bool`` and ``def_tristate``, allowing ``int``, ``hex``, and ``string`` + symbols to be given a type and a default at the same time. + + These can be useful in projects that make use of symbols defined in multiple + locations, and remove some Kconfig inconsistency. - Environment variables are expanded directly in e.g. ``source`` and ``mainmenu`` statements, meaning ``option env`` symbols are redundant. -- cgit v1.2.3