diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2020-05-26 14:33:41 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2020-05-28 10:38:23 +0200 |
commit | 325e5bbac18314c73e6322d809daa8becacc2f87 (patch) | |
tree | 8e7abcae5281e0f55b1e1f9b4bf7ac0ff1269e92 /spec/spec | |
parent | Rename application configuration attributes (diff) | |
download | rtems-central-325e5bbac18314c73e6322d809daa8becacc2f87.tar.bz2 |
Add constraint link role
Diffstat (limited to 'spec/spec')
-rw-r--r-- | spec/spec/appl-config-option-constraints.yml | 7 | ||||
-rw-r--r-- | spec/spec/constraint.yml | 23 |
2 files changed, 25 insertions, 5 deletions
diff --git a/spec/spec/appl-config-option-constraints.yml b/spec/spec/appl-config-option-constraints.yml index c93a1c7a..acbca0a5 100644 --- a/spec/spec/appl-config-option-constraints.yml +++ b/spec/spec/appl-config-option-constraints.yml @@ -14,10 +14,6 @@ spec-info: description: | This attribute defines a list of constraints. spec-type: list-str - links: - description: | - This attribute shall list links to constraints. - spec-type: list-uid max: description: | This attribute defines the maximum value. @@ -32,7 +28,8 @@ spec-info: spec-type: list-int-or-str description: | This set of attributes defines application configuration option - constraints. + constraints. Additional constraints can be added through the links of + the item using the :ref:`SpecTypeConstraintLinkRole`. required-attributes: none spec-name: Application Configuration Option Constraint Set spec-type: appl-config-option-constraints diff --git a/spec/spec/constraint.yml b/spec/spec/constraint.yml new file mode 100644 index 00000000..446c97f8 --- /dev/null +++ b/spec/spec/constraint.yml @@ -0,0 +1,23 @@ +SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause +copyrights: +- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de) +enabled-by: true +links: +- role: spec-member + uid: root +- role: spec-refinement + spec-key: role + spec-value: constraint + uid: link +spec-description: null +spec-example: null +spec-info: + dict: + attributes: {} + description: | + It defines the constraint role of links. The link target shall be a + constraint. + required-attributes: all +spec-name: Constraint Link Role +spec-type: constraint +type: spec |