diff options
| author | Ulf Magnusson <ulfalizer@gmail.com> | 2018-10-06 06:12:53 +0200 |
|---|---|---|
| committer | Ulf Magnusson <ulfalizer@gmail.com> | 2018-10-06 06:13:45 +0200 |
| commit | f594975b499216ac02c470b4cf5d4bc695fae693 (patch) | |
| tree | a246049f51824e2a8ab48e86789bb6e8996a5d9f /README.rst | |
| parent | 631c51fc94575a7cfc88e5755eaf550e77622f8c (diff) | |
Add hints on incremental building to 'getting started'
Diffstat (limited to 'README.rst')
| -rw-r--r-- | README.rst | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -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 --------------------- |
