summaryrefslogtreecommitdiff
path: root/README.rst
diff options
context:
space:
mode:
authorUlf Magnusson <ulfalizer@gmail.com>2018-10-06 06:12:53 +0200
committerUlf Magnusson <ulfalizer@gmail.com>2018-10-06 06:13:45 +0200
commitf594975b499216ac02c470b4cf5d4bc695fae693 (patch)
treea246049f51824e2a8ab48e86789bb6e8996a5d9f /README.rst
parent631c51fc94575a7cfc88e5755eaf550e77622f8c (diff)
Add hints on incremental building to 'getting started'
Diffstat (limited to 'README.rst')
-rw-r--r--README.rst11
1 files changed, 11 insertions, 0 deletions
diff --git a/README.rst b/README.rst
index 173cd84..746d609 100644
--- a/README.rst
+++ b/README.rst
@@ -169,6 +169,17 @@ Kconfig configuration values.
``IS_ENABLED()`` is generally useful, allowing configuration values to be
tested in ``if`` statements with no runtime overhead.
+Incremental building
+~~~~~~~~~~~~~~~~~~~~
+
+See the docstring for ``Kconfig.sync_deps()`` in `kconfiglib.py
+<https://github.com/ulfalizer/Kconfiglib/blob/master/kconfiglib.py>`_ for hints
+on implementing incremental builds (rebuilding just source files that reference
+on changed configuration values).
+
+Running the ``scripts/basic/fixdep.c`` tool from the kernel on the output of
+``gcc -MD <source file>`` might give you an idea of how it all fits together.
+
Library documentation
---------------------