summaryrefslogtreecommitdiffstats
path: root/documentation
diff options
context:
space:
mode:
Diffstat (limited to 'documentation')
-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 8ea372274d..2cf45c17db 100644
--- a/documentation/ref-manual/variables.rst
+++ b/documentation/ref-manual/variables.rst
@@ -7757,6 +7757,50 @@ system and gives an overview of their function and contents.
7757 might break at runtime if the interface of the recipe was changed 7757 might break at runtime if the interface of the recipe was changed
7758 after the other had been built. 7758 after the other had been built.
7759 7759
7760 :term:`SIGGEN_LOCKEDSIGS`
7761 The list of locked tasks, with the form::
7762
7763 SIGGEN_LOCKEDSIGS += "<package>:<task>:<signature>"
7764
7765 If ``<signature>`` exists for the specified ``<task>`` and ``<package>``
7766 in the sstate cache, BitBake will use the cached output instead of
7767 rebuilding the ``<task>``. If it does not exist, BitBake will build the
7768 ``<task>`` and the sstate cache will be used next time.
7769
7770 Example::
7771
7772 SIGGEN_LOCKEDSIGS += "bc:do_compile:09772aa4532512baf96d433484f27234d4b7c11dd9cda0d6f56fa1b7ce6f25f0"
7773
7774 You can obtain the signature of all the tasks for the recipe ``bc`` using::
7775
7776 bitbake -S none bc
7777
7778 Then you can look at files in ``build/tmp/stamps/<arch>/bc`` and look for
7779 files like: ``<PV>.do_compile.sigdata.09772aa4532512baf96d433484f27234d4b7c11dd9cda0d6f56fa1b7ce6f25f0``.
7780
7781 :term:`SIGGEN_LOCKEDSIGS_TASKSIG_CHECK`
7782 Specifies the debug level of task signature check. 3 levels are supported:
7783
7784 * ``info``: displays a "Note" message to remind the user that a task is locked
7785 and the current signature matches the locked one.
7786 * ``warn``: displays a "Warning" message if a task is locked and the current
7787 signature does not match the locked one.
7788 * ``error``: same as warn but displays an "Error" message and aborts.
7789
7790 :term:`SIGGEN_LOCKEDSIGS_TYPES`
7791 Allowed overrides for :term:`SIGGEN_LOCKEDSIGS`. This is mainly used
7792 for architecture specific locks. A common value for
7793 :term:`SIGGEN_LOCKEDSIGS_TYPES` is ``${PACKAGE_ARCHS}``::
7794
7795 SIGGEN_LOCKEDSIGS_TYPES += "${PACKAGE_ARCHS}"
7796
7797 SIGGEN_LOCKEDSIGS_core2-64 += "bc:do_compile:09772aa4532512baf96d433484f27234d4b7c11dd9cda0d6f56fa1b7ce6f25f0"
7798 SIGGEN_LOCKEDSIGS_cortexa57 += "bc:do_compile:12178eb6d55ef602a8fe638e49862fd247e07b228f0f08967697b655bfe4bb61"
7799
7800 Here, the ``do_compile`` task from ``bc`` will be locked only for
7801 ``core2-64`` and ``cortexa57`` but not for other architectures such as
7802 ``mips32r2``.
7803
7760 :term:`SITEINFO_BITS` 7804 :term:`SITEINFO_BITS`
7761 Specifies the number of bits for the target system CPU. The value 7805 Specifies the number of bits for the target system CPU. The value
7762 should be either "32" or "64". 7806 should be either "32" or "64".