summaryrefslogtreecommitdiff
path: root/spec-qdp
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2023-11-21 11:13:17 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2023-11-21 14:23:25 +0100
commit5bfbeeddd072e42e87935e6d6d23f5718c2c9ac7 (patch)
tree3dcbde694e3aeece4a0fcc873668fae7c0ef8a15 /spec-qdp
parentec1de7daac572ccc4e7508f3cf2db063f1578319 (diff)
qdp: Build SDD
Diffstat (limited to 'spec-qdp')
-rw-r--r--spec-qdp/qdp/build/doc-ddf-sdd-doxyfile.yml15
-rw-r--r--spec-qdp/qdp/build/doc-ddf-sdd-tagfile.yml15
-rw-r--r--spec-qdp/qdp/build/doc-ddf-sdd.yml19
-rw-r--r--spec-qdp/qdp/deployment/doc-ddf-sdd-doxyfile.yml19
-rw-r--r--spec-qdp/qdp/deployment/doc-ddf-sdd-tagfile.yml19
-rw-r--r--spec-qdp/qdp/deployment/doc-ddf-sdd.yml23
-rw-r--r--spec-qdp/qdp/deployment/doxygen.yml17
-rw-r--r--spec-qdp/qdp/package-build.yml10
-rw-r--r--spec-qdp/qdp/steps/build-doxygen.yml73
-rw-r--r--spec-qdp/qdp/steps/create-ddf-sdd-doxyfile-build.yml30
-rw-r--r--spec-qdp/qdp/steps/create-ddf-sdd-doxyfile-deployment.yml30
-rw-r--r--spec-qdp/qdp/steps/doc-ddf-sdd.yml38
-rw-r--r--spec-qdp/qdp/steps/doxygen-tagfile.yml38
13 files changed, 346 insertions, 0 deletions
diff --git a/spec-qdp/qdp/build/doc-ddf-sdd-doxyfile.yml b/spec-qdp/qdp/build/doc-ddf-sdd-doxyfile.yml
new file mode 100644
index 00000000..1d8e5497
--- /dev/null
+++ b/spec-qdp/qdp/build/doc-ddf-sdd-doxyfile.yml
@@ -0,0 +1,15 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+copyrights:
+- Copyright (C) 2022 embedded brains GmbH & Co. KG
+copyrights-by-license: {}
+directory: ${../variant:/build-directory}/doc-ddf-sdd
+directory-state-type: generic
+enabled-by: true
+files:
+- file: Doxyfile
+ hash: null
+hash: null
+links: []
+patterns: []
+qdp-type: directory-state
+type: qdp
diff --git a/spec-qdp/qdp/build/doc-ddf-sdd-tagfile.yml b/spec-qdp/qdp/build/doc-ddf-sdd-tagfile.yml
new file mode 100644
index 00000000..44788737
--- /dev/null
+++ b/spec-qdp/qdp/build/doc-ddf-sdd-tagfile.yml
@@ -0,0 +1,15 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+copyrights:
+- Copyright (C) 2022 embedded brains GmbH & Co. KG
+copyrights-by-license: {}
+directory: ${../variant:/build-directory}/doc-ddf-sdd
+directory-state-type: generic
+enabled-by: true
+files:
+- file: tagfile
+ hash: null
+hash: null
+links: []
+patterns: []
+qdp-type: directory-state
+type: qdp
diff --git a/spec-qdp/qdp/build/doc-ddf-sdd.yml b/spec-qdp/qdp/build/doc-ddf-sdd.yml
new file mode 100644
index 00000000..b2c9be0a
--- /dev/null
+++ b/spec-qdp/qdp/build/doc-ddf-sdd.yml
@@ -0,0 +1,19 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+copyrights:
+- Copyright (C) 2022 embedded brains GmbH & Co. KG
+copyrights-by-license: {}
+directory: ${../variant:/build-directory}/doc-ddf-sdd
+directory-state-type: generic
+enabled-by: true
+files: []
+hash: null
+links:
+- role: directory-state-exclude
+ uid: doc-ddf-sdd-doxyfile
+- role: directory-state-exclude
+ uid: doc-ddf-sdd-tagfile
+patterns:
+- exclude: []
+ include: '**/*'
+qdp-type: directory-state
+type: qdp
diff --git a/spec-qdp/qdp/deployment/doc-ddf-sdd-doxyfile.yml b/spec-qdp/qdp/deployment/doc-ddf-sdd-doxyfile.yml
new file mode 100644
index 00000000..9ce5a3b5
--- /dev/null
+++ b/spec-qdp/qdp/deployment/doc-ddf-sdd-doxyfile.yml
@@ -0,0 +1,19 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+copyrights:
+- Copyright (C) 2022 embedded brains GmbH & Co. KG
+copyrights-by-license: {}
+directory: ${../variant:/deployment-directory}/doc/ddf/sdd
+directory-state-type: generic
+enabled-by: true
+files:
+- file: Doxyfile
+ hash: null
+hash: null
+links:
+- hash: null
+ name: member
+ role: input-to
+ uid: ../steps/archive
+patterns: []
+qdp-type: directory-state
+type: qdp
diff --git a/spec-qdp/qdp/deployment/doc-ddf-sdd-tagfile.yml b/spec-qdp/qdp/deployment/doc-ddf-sdd-tagfile.yml
new file mode 100644
index 00000000..371d7503
--- /dev/null
+++ b/spec-qdp/qdp/deployment/doc-ddf-sdd-tagfile.yml
@@ -0,0 +1,19 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+copyrights:
+- Copyright (C) 2022 embedded brains GmbH & Co. KG
+copyrights-by-license: {}
+directory: ${../variant:/deployment-directory}/doc/ddf/sdd
+directory-state-type: generic
+enabled-by: true
+files:
+- file: tagfile
+ hash: null
+hash: null
+links:
+- hash: null
+ name: member
+ role: input-to
+ uid: ../steps/archive
+patterns: []
+qdp-type: directory-state
+type: qdp
diff --git a/spec-qdp/qdp/deployment/doc-ddf-sdd.yml b/spec-qdp/qdp/deployment/doc-ddf-sdd.yml
new file mode 100644
index 00000000..adce7267
--- /dev/null
+++ b/spec-qdp/qdp/deployment/doc-ddf-sdd.yml
@@ -0,0 +1,23 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+copyrights:
+- Copyright (C) 2022 embedded brains GmbH & Co. KG
+copyrights-by-license: {}
+directory: ${../variant:/deployment-directory}/doc/ddf/sdd
+directory-state-type: generic
+enabled-by: true
+files: []
+hash: null
+links:
+- role: directory-state-exclude
+ uid: doc-ddf-sdd-doxyfile
+- role: directory-state-exclude
+ uid: doc-ddf-sdd-tagfile
+- hash: null
+ name: member
+ role: input-to
+ uid: ../steps/archive
+patterns:
+- exclude: []
+ include: '**/*'
+qdp-type: directory-state
+type: qdp
diff --git a/spec-qdp/qdp/deployment/doxygen.yml b/spec-qdp/qdp/deployment/doxygen.yml
new file mode 100644
index 00000000..cd1062bb
--- /dev/null
+++ b/spec-qdp/qdp/deployment/doxygen.yml
@@ -0,0 +1,17 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+copyrights:
+- Copyright (C) 2023 embedded brains GmbH & Co. KG
+copyrights-by-license: {}
+directory: ${../variant:/deployment-directory}
+directory-state-type: generic
+enabled-by: true
+files: []
+hash: null
+links:
+- hash: null
+ name: member
+ role: input-to
+ uid: ../steps/archive
+patterns: []
+qdp-type: directory-state
+type: qdp
diff --git a/spec-qdp/qdp/package-build.yml b/spec-qdp/qdp/package-build.yml
index fcd7ea3b..20148544 100644
--- a/spec-qdp/qdp/package-build.yml
+++ b/spec-qdp/qdp/package-build.yml
@@ -8,8 +8,14 @@ links:
- role: build-step
uid: steps/create-config-files
- role: build-step
+ uid: steps/create-ddf-sdd-doxyfile-build
+- role: build-step
+ uid: steps/create-ddf-sdd-doxyfile-deployment
+- role: build-step
uid: steps/run-rsb
- role: build-step
+ uid: steps/build-doxygen
+- role: build-step
uid: steps/bsp-qual-only
- role: build-step
uid: steps/bsp-qual-only-coverage
@@ -20,6 +26,10 @@ links:
- role: build-step
uid: steps/membench
- role: build-step
+ uid: steps/doxygen-tagfile
+- role: build-step
+ uid: steps/doc-ddf-sdd
+- role: build-step
uid: steps/archive
qdp-type: package-build
type: qdp
diff --git a/spec-qdp/qdp/steps/build-doxygen.yml b/spec-qdp/qdp/steps/build-doxygen.yml
new file mode 100644
index 00000000..270dff20
--- /dev/null
+++ b/spec-qdp/qdp/steps/build-doxygen.yml
@@ -0,0 +1,73 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- action: remove-tree
+ enabled-by: true
+ missing-ok: true
+ path: ${.:/params/build-directory}
+- action: mkdir
+ enabled-by: true
+ exist-ok: false
+ parents: true
+ path: ${.:/params/build-directory}
+- action: subprocess
+ enabled-by: true
+ command:
+ - cmake
+ - -DCMAKE_INSTALL_PREFIX=${../variant:/deployment-directory}
+ - -G
+ - Unix Makefiles
+ - ${../source/doxygen:/directory}
+ env: []
+ expected-return-code: 0
+ working-directory: ${.:/params/build-directory}
+- action: subprocess
+ enabled-by: true
+ command:
+ - make
+ - -j
+ - ${.:/host-processor-count}
+ env: []
+ expected-return-code: 0
+ working-directory: ${.:/params/build-directory}
+- action: subprocess
+ enabled-by: true
+ command:
+ - make
+ - -j
+ - ${.:/host-processor-count}
+ - install
+ - DESTDIR=${.:/params/build-directory}/destdir
+ env: []
+ expected-return-code: 0
+ working-directory: ${.:/params/build-directory}
+- action: directory-state-clear
+ enabled-by: true
+ output-name: deployment
+- action: directory-state-move-tree
+ enabled-by: true
+ excludes: []
+ output-name: deployment
+ prefix: null
+ root: ${.:/params/build-directory}/destdir/${../variant:/deployment-directory}
+- action: remove-tree
+ enabled-by: true
+ missing-ok: true
+ path: ${.:/params/build-directory}
+build-step-type: run-actions
+copyrights:
+- Copyright (C) 2023 embedded brains GmbH & Co. KG
+description: |
+ Builds and installs Doxygen.
+enabled-by: true
+links:
+- hash: null
+ name: source
+ role: input
+ uid: ../source/doxygen
+- name: deployment
+ role: output
+ uid: ../deployment/doxygen
+params:
+ build-directory: ${../variant:/build-directory}/build-doxygen
+qdp-type: build-step
+type: qdp
diff --git a/spec-qdp/qdp/steps/create-ddf-sdd-doxyfile-build.yml b/spec-qdp/qdp/steps/create-ddf-sdd-doxyfile-build.yml
new file mode 100644
index 00000000..70cc3954
--- /dev/null
+++ b/spec-qdp/qdp/steps/create-ddf-sdd-doxyfile-build.yml
@@ -0,0 +1,30 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- action: copy-and-substitute
+ enabled-by: true
+ input-name: source
+ output-name: destination
+ source: null
+ target: null
+build-step-type: run-actions
+copyrights:
+- Copyright (C) 2022 embedded brains GmbH & Co. KG
+description: |
+ Creates the Doxygen file used to produce the tagfile.
+enabled-by: true
+links:
+- hash: null
+ name: source
+ role: input
+ uid: ../source/doc-ddf-sdd-doxyfile
+- name: destination
+ role: output
+ uid: ../build/doc-ddf-sdd-doxyfile
+params:
+ generate-html: 'NO'
+ generate-latex: 'NO'
+ input: ''
+ output-directory: ${../build/doc-ddf-sdd:/directory}
+ tagfile: ${../build/doc-ddf-sdd-tagfile:/file}
+qdp-type: build-step
+type: qdp
diff --git a/spec-qdp/qdp/steps/create-ddf-sdd-doxyfile-deployment.yml b/spec-qdp/qdp/steps/create-ddf-sdd-doxyfile-deployment.yml
new file mode 100644
index 00000000..393433e0
--- /dev/null
+++ b/spec-qdp/qdp/steps/create-ddf-sdd-doxyfile-deployment.yml
@@ -0,0 +1,30 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- action: copy-and-substitute
+ enabled-by: true
+ input-name: source
+ output-name: destination
+ source: null
+ target: null
+build-step-type: run-actions
+copyrights:
+- Copyright (C) 2022 embedded brains GmbH & Co. KG
+description: |
+ Creates the DJF SDD Doxygen file.
+enabled-by: true
+links:
+- hash: null
+ name: source
+ role: input
+ uid: ../source/doc-ddf-sdd-doxyfile
+- name: destination
+ role: output
+ uid: ../deployment/doc-ddf-sdd-doxyfile
+params:
+ generate-html: 'YES'
+ generate-latex: 'NO'
+ input: ''
+ output-directory: ${../deployment/doc-ddf-sdd:/directory}
+ tagfile: ${../deployment/doc-ddf-sdd-tagfile:/file}
+qdp-type: build-step
+type: qdp
diff --git a/spec-qdp/qdp/steps/doc-ddf-sdd.yml b/spec-qdp/qdp/steps/doc-ddf-sdd.yml
new file mode 100644
index 00000000..c129c37d
--- /dev/null
+++ b/spec-qdp/qdp/steps/doc-ddf-sdd.yml
@@ -0,0 +1,38 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- action: subprocess
+ enabled-by: true
+ command:
+ - ${../variant:/deployment-directory}/bin/doxygen
+ - ${../deployment/doc-ddf-sdd-doxyfile:/file}
+ env: []
+ expected-return-code: 0
+ working-directory: ${../source/rtems-qual-only:/directory}
+build-step-type: run-actions
+copyrights:
+- Copyright (C) 2022 embedded brains GmbH & Co. KG
+description: |
+ Builds the SDD.
+enabled-by: true
+links:
+- hash: null
+ name: source
+ role: input
+ uid: ../deployment/doxygen
+- hash: null
+ name: source
+ role: input
+ uid: ../source/rtems-qual-only
+- hash: null
+ name: config
+ role: input
+ uid: ../deployment/doc-ddf-sdd-doxyfile
+- name: destination
+ role: output
+ uid: ../deployment/doc-ddf-sdd
+- name: tagfile
+ role: output
+ uid: ../deployment/doc-ddf-sdd-tagfile
+params: {}
+qdp-type: build-step
+type: qdp
diff --git a/spec-qdp/qdp/steps/doxygen-tagfile.yml b/spec-qdp/qdp/steps/doxygen-tagfile.yml
new file mode 100644
index 00000000..b086b61a
--- /dev/null
+++ b/spec-qdp/qdp/steps/doxygen-tagfile.yml
@@ -0,0 +1,38 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- action: subprocess
+ enabled-by: true
+ command:
+ - ${../variant:/deployment-directory}/bin/doxygen
+ - ${../build/doc-ddf-sdd-doxyfile:/file}
+ env: []
+ expected-return-code: 0
+ working-directory: ${../source/rtems-qual-only:/directory}
+build-step-type: run-actions
+copyrights:
+- Copyright (C) 2022 embedded brains GmbH & Co. KG
+description: |
+ Builds the Doxygen tagfile.
+enabled-by: true
+links:
+- hash: null
+ name: source
+ role: input
+ uid: ../deployment/doxygen
+- hash: null
+ name: source
+ role: input
+ uid: ../source/rtems-qual-only
+- hash: null
+ name: config
+ role: input
+ uid: ../build/doc-ddf-sdd-doxyfile
+- name: destination
+ role: output
+ uid: ../build/doc-ddf-sdd
+- name: tagfile
+ role: output
+ uid: ../build/doc-ddf-sdd-tagfile
+params: {}
+qdp-type: build-step
+type: qdp