[PATCH rtems-docs v2] eng: Add ObjectsItem details

Kinsey Moore kinsey.moore at oarcorp.com
Tue Feb 7 22:02:47 UTC 2023


This adds a section on adding ObjectsItems.
---
 eng/build-system.rst | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/eng/build-system.rst b/eng/build-system.rst
index 6974aa8..9ccd582 100644
--- a/eng/build-system.rst
+++ b/eng/build-system.rst
@@ -489,3 +489,32 @@ Add a link to the new library item using a relative UID:
    links:
    - role: build-dependency
      uid: libnew
+
+Add an Object
+-------------
+
+Build objects logically separate relatively independent segments of
+functionality (for example a device driver, an architecture-dependent feature,
+etc.). Let *new* be the name of the new object.  You can add the new object
+with:
+
+.. code-block:: none
+
+    $ vi spec/build/cpukit/objnew.yml
+
+Define the attributes of your new object according to
+:ref:`SpecTypeBuildObjectsItemType`.
+
+Edit corresponding group item:
+
+.. code-block:: none
+
+    $ vi spec/build/cpukit/grp.yml
+
+Add a link to the new objects item using a relative UID:
+
+.. code-block:: yaml
+
+   links:
+   - role: build-dependency
+     uid: objnew
-- 
2.30.2



More information about the devel mailing list