Changeset 9628dfd in rtems-docs


Ignore:
Timestamp:
10/01/20 05:37:04 (3 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
d75b31f
Parents:
e70aebd
Message:

eng: Clarify stlib build attribute

Update #4107.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • eng/req/items.rst

    re70aebd r9628dfd  
    280280
    281281stlib
    282     The attribute value shall be a list of strings. It shall be a list of
    283     external static library identifiers used to link this test program, e.g.
    284     ``m`` for ``libm.a``.
     282    The attribute value shall be a list. Each list element shall be a
     283    :ref:`SpecTypeBuildLinkStaticLibraryDirective`.
    285284
    286285target
     
    822821
    823822stlib
    824     The attribute value shall be a list of strings. It shall be a list of
    825     external static library identifiers used to link this test program, e.g.
    826     ``m`` for ``libm.a``.
     823    The attribute value shall be a list. Each list element shall be a
     824    :ref:`SpecTypeBuildLinkStaticLibraryDirective`.
    827825
    828826use-after
     
    955953
    956954stlib
    957     The attribute value shall be a list of strings. It shall be a list of
    958     external static library identifiers used to link this test program, e.g.
    959     ``m`` for ``libm.a``.
     955    The attribute value shall be a list. Each list element shall be a
     956    :ref:`SpecTypeBuildLinkStaticLibraryDirective`.
    960957
    961958target
     
    27132710* :ref:`SpecTypeBuildStartFileItemType`
    27142711
     2712.. _SpecTypeBuildLinkStaticLibraryDirective:
     2713
     2714Build Link Static Library Directive
     2715^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
     2716
     2717The value shall be a string. It shall be an external static library identifier.
     2718The library is used to link programs referenced by this item, e.g. ``m`` for
     2719``libm.a``.  The library is added to the build command through the ``stlib``
     2720attribute. It shall not be used for internal static libraries.  Internal static
     2721libraries shall be specified through the ``use-after`` and ``use-before``
     2722attributes to enable a proper build dependency tracking.
     2723
     2724This type is used by the following types:
     2725
     2726* :ref:`SpecTypeBuildAdaTestProgramItemType`
     2727
     2728* :ref:`SpecTypeBuildScriptItemType`
     2729
     2730* :ref:`SpecTypeBuildTestProgramItemType`
     2731
    27152732.. _SpecTypeBuildLinkerOption:
    27162733
     
    31243141
    31253142The value shall be a string. It shall be an internal static library identifier.
    3126 They are used to link programs referenced by this item, e.g. ``z`` for
    3127 ``libz.a``.  They are placed after the use items of the build item context.
     3143The library is used to link programs referenced by this item, e.g. ``z`` for
     3144``libz.a``.  The library is placed after the use items of the build item
     3145context.
    31283146
    31293147This type is used by the following types:
     
    31433161
    31443162The value shall be a string. It shall be an internal static library identifier.
    3145 They are used to link programs referenced by this item, e.g. ``z`` for
    3146 ``libz.a``.  They are placed before the use items of the build item context.
     3163The library is used to link programs referenced by this item, e.g. ``z`` for
     3164``libz.a``.  The library is placed before the use items of the build item
     3165context.
    31473166
    31483167This type is used by the following types:
Note: See TracChangeset for help on using the changeset viewer.