summaryrefslogtreecommitdiff
path: root/spec/spec/enabled-by.yml
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2020-07-24 14:17:15 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2020-09-18 13:27:33 +0200
commit1fce758513a51f35fd38ce684a51c3f497a5d833 (patch)
treef2dcb0ebd9871b3de98bf7698ba4e957d7d0955d /spec/spec/enabled-by.yml
parente3563c1d0d1137d1397463fedeb754db61067677 (diff)
spec: Move specification of specification items
This makes it reusable.
Diffstat (limited to 'spec/spec/enabled-by.yml')
-rw-r--r--spec/spec/enabled-by.yml53
1 files changed, 0 insertions, 53 deletions
diff --git a/spec/spec/enabled-by.yml b/spec/spec/enabled-by.yml
deleted file mode 100644
index c88d74e4..00000000
--- a/spec/spec/enabled-by.yml
+++ /dev/null
@@ -1,53 +0,0 @@
-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
-spec-description: |
- A value of this type shall be an expression which defines under which
- conditions the specification item or parts of it are enabled. The expression
- is evaluated with the use of an *enabled set*. This is a set of strings
- which indicate enabled features.
-spec-example: |
- enabled-by:
- and:
- - RTEMS_NETWORKING
- - not: RTEMS_SMP
-spec-info:
- bool:
- description: |
- This expression evaluates directly to the boolean value.
- dict:
- attributes:
- and:
- description: |
- The *and* operator evaluates to the *logical and* of the evaluation
- results of the expressions in the list.
- spec-type: enabled-by-list
- not:
- description: |
- The *not* operator evaluates to the *logical not* of the evaluation
- results of the expression.
- spec-type: enabled-by
- or:
- description: |
- The *or* operator evaluates to the *logical or* of the evaluation
- results of the expressions in the list.
- spec-type: enabled-by-list
- description: |
- Each attribute defines an operator.
- mandatory-attributes: exactly-one
- list:
- description: |
- This list of expressions evaluates to the *logical or* of the evaluation
- results of the expressions in the list.
- spec-type: enabled-by
- str:
- description: |
- If the value is in the *enabled set*, this expression evaluates to true,
- otherwise to false.
-spec-name: Enabled-By Expression
-spec-type: enabled-by
-type: spec