From f594975b499216ac02c470b4cf5d4bc695fae693 Mon Sep 17 00:00:00 2001 From: Ulf Magnusson Date: Sat, 6 Oct 2018 06:12:53 +0200 Subject: Add hints on incremental building to 'getting started' --- README.rst | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'README.rst') 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 +`_ 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 `` might give you an idea of how it all fits together. + Library documentation --------------------- -- cgit v1.2.3