summaryrefslogtreecommitdiffstats
path: root/documentation/ref-manual
diff options
context:
space:
mode:
Diffstat (limited to 'documentation/ref-manual')
-rw-r--r--documentation/ref-manual/classes.rst15
-rw-r--r--documentation/ref-manual/faq.rst5
-rw-r--r--documentation/ref-manual/variables.rst5
3 files changed, 3 insertions, 22 deletions
diff --git a/documentation/ref-manual/classes.rst b/documentation/ref-manual/classes.rst
index 03dd375776..cba9793332 100644
--- a/documentation/ref-manual/classes.rst
+++ b/documentation/ref-manual/classes.rst
@@ -953,21 +953,6 @@ specified by :term:`EFI_PROVIDER` if
953Normally, you do not use this class directly. Instead, you add "live" to 953Normally, you do not use this class directly. Instead, you add "live" to
954:term:`IMAGE_FSTYPES`. 954:term:`IMAGE_FSTYPES`.
955 955
956.. _ref-classes-image-prelink:
957
958``image-prelink.bbclass``
959=========================
960
961The ``image-prelink`` class enables the use of the ``prelink`` utility
962during the :ref:`ref-tasks-rootfs` task, which optimizes
963the dynamic linking of shared libraries to reduce executable startup
964time.
965
966By default, the class is enabled in the ``local.conf.template`` using
967the :term:`USER_CLASSES` variable as follows::
968
969 USER_CLASSES ?= "buildstats image-prelink"
970
971.. _ref-classes-insane: 956.. _ref-classes-insane:
972 957
973``insane.bbclass`` 958``insane.bbclass``
diff --git a/documentation/ref-manual/faq.rst b/documentation/ref-manual/faq.rst
index e06dfd972b..e06b5e6caa 100644
--- a/documentation/ref-manual/faq.rst
+++ b/documentation/ref-manual/faq.rst
@@ -455,7 +455,4 @@ changing it?
455**A:** The first most obvious change is the system stripping debug symbols from 455**A:** The first most obvious change is the system stripping debug symbols from
456it. Setting :term:`INHIBIT_PACKAGE_STRIP` to stop debug symbols being stripped and/or 456it. Setting :term:`INHIBIT_PACKAGE_STRIP` to stop debug symbols being stripped and/or
457:term:`INHIBIT_PACKAGE_DEBUG_SPLIT` to stop debug symbols being split into a separate 457:term:`INHIBIT_PACKAGE_DEBUG_SPLIT` to stop debug symbols being split into a separate
458file will ensure the binary is unchanged. The other less obvious thing that can 458file will ensure the binary is unchanged.
459happen is prelinking of the image. This is set by default in local.conf via
460:term:`USER_CLASSES` which can contain 'image-prelink'. If you remove that, the
461image will not be prelinked meaning the binaries would be unchanged.
diff --git a/documentation/ref-manual/variables.rst b/documentation/ref-manual/variables.rst
index c9d7cfbe92..005456f0c4 100644
--- a/documentation/ref-manual/variables.rst
+++ b/documentation/ref-manual/variables.rst
@@ -8537,12 +8537,11 @@ system and gives an overview of their function and contents.
8537 8537
8538 :term:`USER_CLASSES` 8538 :term:`USER_CLASSES`
8539 A list of classes to globally inherit. These classes are used by the 8539 A list of classes to globally inherit. These classes are used by the
8540 OpenEmbedded build system to enable extra features (e.g. 8540 OpenEmbedded build system to enable extra features.
8541 ``buildstats``, ``image-prelink``, and so forth).
8542 8541
8543 The default list is set in your ``local.conf`` file:: 8542 The default list is set in your ``local.conf`` file::
8544 8543
8545 USER_CLASSES ?= "buildstats image-prelink" 8544 USER_CLASSES ?= "buildstats"
8546 8545
8547 For more information, see 8546 For more information, see
8548 ``meta-poky/conf/local.conf.sample`` in the :term:`Source Directory`. 8547 ``meta-poky/conf/local.conf.sample`` in the :term:`Source Directory`.