summaryrefslogtreecommitdiffstats
path: root/documentation/ref-manual/variables.rst
diff options
context:
space:
mode:
Diffstat (limited to 'documentation/ref-manual/variables.rst')
-rw-r--r--documentation/ref-manual/variables.rst44
1 files changed, 44 insertions, 0 deletions
diff --git a/documentation/ref-manual/variables.rst b/documentation/ref-manual/variables.rst
index dc7a19efef..3a0d46d501 100644
--- a/documentation/ref-manual/variables.rst
+++ b/documentation/ref-manual/variables.rst
@@ -7880,6 +7880,50 @@ system and gives an overview of their function and contents.
7880 might break at runtime if the interface of the recipe was changed 7880 might break at runtime if the interface of the recipe was changed
7881 after the other had been built. 7881 after the other had been built.
7882 7882
7883 :term:`SIGGEN_LOCKEDSIGS`
7884 The list of locked tasks, with the form::
7885
7886 SIGGEN_LOCKEDSIGS += "<package>:<task>:<signature>"
7887
7888 If ``<signature>`` exists for the specified ``<task>`` and ``<package>``
7889 in the sstate cache, BitBake will use the cached output instead of
7890 rebuilding the ``<task>``. If it does not exist, BitBake will build the
7891 ``<task>`` and the sstate cache will be used next time.
7892
7893 Example::
7894
7895 SIGGEN_LOCKEDSIGS += "bc:do_compile:09772aa4532512baf96d433484f27234d4b7c11dd9cda0d6f56fa1b7ce6f25f0"
7896
7897 You can obtain the signature of all the tasks for the recipe ``bc`` using::
7898
7899 bitbake -S none bc
7900
7901 Then you can look at files in ``build/tmp/stamps/<arch>/bc`` and look for
7902 files like: ``<PV>.do_compile.sigdata.09772aa4532512baf96d433484f27234d4b7c11dd9cda0d6f56fa1b7ce6f25f0``.
7903
7904 :term:`SIGGEN_LOCKEDSIGS_TASKSIG_CHECK`
7905 Specifies the debug level of task signature check. 3 levels are supported:
7906
7907 * ``info``: displays a "Note" message to remind the user that a task is locked
7908 and the current signature matches the locked one.
7909 * ``warn``: displays a "Warning" message if a task is locked and the current
7910 signature does not match the locked one.
7911 * ``error``: same as warn but displays an "Error" message and aborts.
7912
7913 :term:`SIGGEN_LOCKEDSIGS_TYPES`
7914 Allowed overrides for :term:`SIGGEN_LOCKEDSIGS`. This is mainly used
7915 for architecture specific locks. A common value for
7916 :term:`SIGGEN_LOCKEDSIGS_TYPES` is ``${PACKAGE_ARCHS}``::
7917
7918 SIGGEN_LOCKEDSIGS_TYPES += "${PACKAGE_ARCHS}"
7919
7920 SIGGEN_LOCKEDSIGS_core2-64 += "bc:do_compile:09772aa4532512baf96d433484f27234d4b7c11dd9cda0d6f56fa1b7ce6f25f0"
7921 SIGGEN_LOCKEDSIGS_cortexa57 += "bc:do_compile:12178eb6d55ef602a8fe638e49862fd247e07b228f0f08967697b655bfe4bb61"
7922
7923 Here, the ``do_compile`` task from ``bc`` will be locked only for
7924 ``core2-64`` and ``cortexa57`` but not for other architectures such as
7925 ``mips32r2``.
7926
7883 :term:`SITEINFO_BITS` 7927 :term:`SITEINFO_BITS`
7884 Specifies the number of bits for the target system CPU. The value 7928 Specifies the number of bits for the target system CPU. The value
7885 should be either "32" or "64". 7929 should be either "32" or "64".