diff options
| author | Ulf Magnusson <ulfalizer@gmail.com> | 2018-02-28 07:24:16 +0100 |
|---|---|---|
| committer | Ulf Magnusson <ulfalizer@gmail.com> | 2018-02-28 15:32:58 +0100 |
| commit | 378dedcb38b85056991fecab24567414567724ec (patch) | |
| tree | 9d36e4e3980b8941ad7bcf92c3123434241ab89f /README.rst | |
| parent | 0fbb247a5e7cb1858d093b9e440b8200be3e0b55 (diff) | |
Add support for incremental builds
Implement a scheme from the C tools where symbols get corresponding
files that are touch'ed whenever the symbol's value changes. This can be
used to add e.g. Makefile dependencies between source files and
particular symbols.
See the docstring of the new sync_deps() function for more information.
Piggyback a small sanity check for write_autoconf().
Diffstat (limited to 'README.rst')
| -rw-r--r-- | README.rst | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -34,6 +34,15 @@ configuration systems. It can do the following, among other things: The generated headers use the same format as ``include/generated/autoconf.h`` from the Linux kernel. +- **Implement incremental builds** + + This uses the same scheme as the ``include/config`` directory in the kernel: + Symbols are translated into files that are touched when the symbol's value + changes between builds, which can be used to avoid having to do a full + rebuild whenever the configuration is changed. + + See the ``sync_deps()`` function for more information. + - **Inspect symbols** Printing a symbol gives output which could be fed back into a Kconfig parser |
