diff --git a/documentation/migration-guides/migration-2.7.rst b/documentation/migration-guides/migration-2.7.rst
index c49d2f05d..7ed556d32 100644
--- a/documentation/migration-guides/migration-2.7.rst
+++ b/documentation/migration-guides/migration-2.7.rst
@@ -18,7 +18,7 @@ The following changes have been made to BitBake:
    indentation. If found, BitBake produces a warning.
 
 -  BitBake now checks
-   :term:`BBFILE_COLLECTIONS` for duplicate
+   ``BBFILE_COLLECTIONS`` for duplicate
    entries and triggers an error if any are found.
 
 .. _migration-2.7-eclipse-support-dropped:
diff --git a/documentation/migration-guides/migration-3.4.rst b/documentation/migration-guides/migration-3.4.rst
index e9cb3a109..9f224974b 100644
--- a/documentation/migration-guides/migration-3.4.rst
+++ b/documentation/migration-guides/migration-3.4.rst
@@ -60,7 +60,7 @@ case where some code does use them as overrides but some does not. We plan to tr
 and make the tune code use overrides more consistently in the future.
 
 There are some variables which do not use override syntax which include the
-suffix to variables in ``layer.conf`` files such as :term:`BBFILE_PATTERN`,
+suffix to variables in ``layer.conf`` files such as ``BBFILE_PATTERN``,
 :term:`SRCREV`\ ``_xxx`` where ``xxx`` is a name from :term:`SRC_URI` and
 :term:`PREFERRED_VERSION`\ ``_xxx``. In particular, ``layer.conf`` suffixes
 may be the same as a :term:`DISTRO` override causing some confusion. We do
diff --git a/documentation/ref-manual/variables.rst b/documentation/ref-manual/variables.rst
index f4444dd87..4beb77bb1 100644
--- a/documentation/ref-manual/variables.rst
+++ b/documentation/ref-manual/variables.rst
@@ -807,77 +807,10 @@ system and gives an overview of their function and contents.
    :term:`BBDEBUG`
       See :term:`bitbake:BBDEBUG` in the BitBake manual.
 
-   :term:`BBFILE_COLLECTIONS`
-      Lists the names of configured layers. These names are used to find
-      the other ``BBFILE_*`` variables. Typically, each layer will append
-      its name to this variable in its ``conf/layer.conf`` file.
-
-   :term:`BBFILE_PATTERN`
-      Variable that expands to match files from
-      :term:`BBFILES` in a particular layer. This variable
-      is used in the ``conf/layer.conf`` file and must be suffixed with the
-      name of the specific layer (e.g. ``BBFILE_PATTERN_emenlow``).
-
-   :term:`BBFILE_PRIORITY`
-      Assigns the priority for recipe files in each layer.
-
-      This variable is useful in situations where the same recipe appears
-      in more than one layer. Setting this variable allows you to
-      prioritize a layer against other layers that contain the same recipe
-      --- effectively letting you control the precedence for the multiple
-      layers. The precedence established through this variable stands
-      regardless of a recipe's version (:term:`PV` variable). For
-      example, a layer that has a recipe with a higher :term:`PV` value but for
-      which the :term:`BBFILE_PRIORITY` is set to have a lower precedence still
-      has a lower precedence.
-
-      A larger value for the :term:`BBFILE_PRIORITY` variable results in a
-      higher precedence. For example, the value 6 has a higher precedence
-      than the value 5. If not specified, the :term:`BBFILE_PRIORITY` variable
-      is set based on layer dependencies (see the :term:`LAYERDEPENDS` variable
-      for more information. The default priority, if unspecified for a
-      layer with no dependencies, is the lowest defined priority + 1 (or 1
-      if no priorities are defined).
-
-      .. tip::
-
-         You can use the command ``bitbake-layers show-layers``
-         to list all configured layers along with their priorities.
-
    :term:`BBFILES`
       A space-separated list of patterns BitBake uses to locate :term:`recipes
       <Recipe>` and :term:`append files`.
 
-   :term:`BBFILES_DYNAMIC`
-      Activates content when identified layers are present. This mechanism
-      is commonly referred to as "dynamic layers". You identify the layers
-      by the collections that the layers define.
-
-      Use the :term:`BBFILES_DYNAMIC` variable to avoid ``.bbappend`` files
-      whose corresponding ``.bb`` file is in a layer that attempts to
-      modify other layers through ``.bbappend`` but does not want to
-      introduce a hard dependency on those other layers.
-
-      Use the following form for :term:`BBFILES_DYNAMIC`:
-      ``collection_name:filename_pattern``.
-
-      The following example identifies two collection names and two
-      filename patterns::
-
-         BBFILES_DYNAMIC += " \
-            clang-layer:${LAYERDIR}/dynamic-layers/meta-clang/*/*/*.bbappend \
-            core:${LAYERDIR}/dynamic-layers/openembedded-core/meta/*/*/*.bbappend \
-            "
-
-      This next example shows an error message that occurs because invalid
-      entries are found, which cause parsing to fail:
-
-      .. code-block:: none
-
-         ERROR: BBFILES_DYNAMIC entries must be of the form <collection name>:<filename pattern>, not:
-             /work/my-layer/dynamic-layers/meta-security-isafw/*/*/*.bbappend
-             /work/my-layer/dynamic-layers/openembedded-core/meta/*/*/*.bbappend
-
    :term:`BBINCLUDED`
       See :term:`bitbake:BBINCLUDED` in the BitBake manual.
 
