summaryrefslogtreecommitdiffstats
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
commit20d617db310d2578399658e1ad0df6170782f591 (patch)
treeb77093d7541d098379353c214c3dd39e95fdec09
parentqdp: Set RTEMS_PPS_SYNC to False (diff)
downloadrtems-central-20d617db310d2578399658e1ad0df6170782f591.tar.bz2
qdp: Build BSPs
-rw-r--r--spec-qdp/qdp/build/bsp-extra-coverage.yml15
-rw-r--r--spec-qdp/qdp/build/bsp-extra.yml15
-rw-r--r--spec-qdp/qdp/build/bsp-qual-only-coverage.yml15
-rw-r--r--spec-qdp/qdp/build/bsp-qual-only.yml22
-rw-r--r--spec-qdp/qdp/deployment/bsp-extra.yml17
-rw-r--r--spec-qdp/qdp/deployment/bsp-qual-only.yml17
-rw-r--r--spec-qdp/qdp/package-build.yml8
-rw-r--r--spec-qdp/qdp/steps/bsp-extra-coverage.yml67
-rw-r--r--spec-qdp/qdp/steps/bsp-extra.yml89
-rw-r--r--spec-qdp/qdp/steps/bsp-qual-only-coverage.yml76
-rw-r--r--spec-qdp/qdp/steps/bsp-qual-only.yml98
11 files changed, 439 insertions, 0 deletions
diff --git a/spec-qdp/qdp/build/bsp-extra-coverage.yml b/spec-qdp/qdp/build/bsp-extra-coverage.yml
new file mode 100644
index 00000000..52878f17
--- /dev/null
+++ b/spec-qdp/qdp/build/bsp-extra-coverage.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}/bsp-extra-coverage
+directory-state-type: generic
+enabled-by: true
+files: []
+hash: null
+links: []
+patterns:
+- exclude: []
+ include: '**/*'
+qdp-type: directory-state
+type: qdp
diff --git a/spec-qdp/qdp/build/bsp-extra.yml b/spec-qdp/qdp/build/bsp-extra.yml
new file mode 100644
index 00000000..d4768cfb
--- /dev/null
+++ b/spec-qdp/qdp/build/bsp-extra.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}/bsp-extra
+directory-state-type: generic
+enabled-by: true
+files: []
+hash: null
+links: []
+patterns:
+- exclude: []
+ include: '**/*'
+qdp-type: directory-state
+type: qdp
diff --git a/spec-qdp/qdp/build/bsp-qual-only-coverage.yml b/spec-qdp/qdp/build/bsp-qual-only-coverage.yml
new file mode 100644
index 00000000..1a625abe
--- /dev/null
+++ b/spec-qdp/qdp/build/bsp-qual-only-coverage.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}/bsp-qual-only-coverage
+directory-state-type: generic
+enabled-by: true
+files: []
+hash: null
+links: []
+patterns:
+- exclude: []
+ include: '**/*'
+qdp-type: directory-state
+type: qdp
diff --git a/spec-qdp/qdp/build/bsp-qual-only.yml b/spec-qdp/qdp/build/bsp-qual-only.yml
new file mode 100644
index 00000000..34bfc510
--- /dev/null
+++ b/spec-qdp/qdp/build/bsp-qual-only.yml
@@ -0,0 +1,22 @@
+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}/bsp-qual-only
+directory-state-type: generic
+enabled-by: true
+files: []
+hash: null
+links:
+- arch: ${../variant:/arch}
+ build-label: ${../variant:/ident}/qual-only
+ hash: null
+ name: membench-build
+ path: ${.:/directory}/${../variant:/arch}/${../variant:/bsp}${../variant:/params/bsp-qual-only/dash}
+ role: input-to
+ uid: ../steps/membench
+patterns:
+- exclude: []
+ include: '**/*'
+qdp-type: directory-state
+type: qdp
diff --git a/spec-qdp/qdp/deployment/bsp-extra.yml b/spec-qdp/qdp/deployment/bsp-extra.yml
new file mode 100644
index 00000000..920b90e0
--- /dev/null
+++ b/spec-qdp/qdp/deployment/bsp-extra.yml
@@ -0,0 +1,17 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+copyrights:
+- Copyright (C) 2020 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/deployment/bsp-qual-only.yml b/spec-qdp/qdp/deployment/bsp-qual-only.yml
new file mode 100644
index 00000000..920b90e0
--- /dev/null
+++ b/spec-qdp/qdp/deployment/bsp-qual-only.yml
@@ -0,0 +1,17 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+copyrights:
+- Copyright (C) 2020 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 acc3d488..f9a94253 100644
--- a/spec-qdp/qdp/package-build.yml
+++ b/spec-qdp/qdp/package-build.yml
@@ -10,6 +10,14 @@ links:
- role: build-step
uid: steps/run-rsb
- role: build-step
+ uid: steps/bsp-qual-only
+- role: build-step
+ uid: steps/bsp-qual-only-coverage
+- role: build-step
+ uid: steps/bsp-extra
+- role: build-step
+ uid: steps/bsp-extra-coverage
+- role: build-step
uid: steps/archive
qdp-type: package-build
type: qdp
diff --git a/spec-qdp/qdp/steps/bsp-extra-coverage.yml b/spec-qdp/qdp/steps/bsp-extra-coverage.yml
new file mode 100644
index 00000000..9bbcefac
--- /dev/null
+++ b/spec-qdp/qdp/steps/bsp-extra-coverage.yml
@@ -0,0 +1,67 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+build-step-type: run-actions
+actions:
+- action: remove-tree
+ enabled-by: true
+ missing-ok: true
+ path: ${.:/params/build-directory}
+- action: remove-glob
+ enabled-by: true
+ remove-tree: true
+ path: ${.:/params/working-directory}
+ patterns:
+ - .lock-waf*
+ - .waf*
+- action: subprocess
+ command:
+ - ./waf
+ - configure
+ - --out=${.:/params/build-directory}
+ - --prefix=${../variant:/build-directory}
+ - --rtems-tools=${../deployment/rtems-tool-suite:/directory}
+ - --rtems-config=${../deployment/config-extra-coverage:/file}
+ enabled-by: true
+ env: []
+ expected-return-code: 0
+ working-directory: ${.:/params/working-directory}
+- action: subprocess
+ command:
+ - ./waf
+ - build
+ enabled-by: true
+ env: []
+ expected-return-code: 0
+ working-directory: ${.:/params/working-directory}
+- action: remove-glob
+ enabled-by: true
+ remove-tree: true
+ path: ${.:/params/working-directory}
+ patterns:
+ - .lock-waf*
+ - .waf*
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH & Co. KG
+description: |
+ Builds the BSP in the extra-coverage configuration.
+enabled-by: true
+links:
+- hash: null
+ name: source
+ role: input
+ uid: ../source/rtems
+- hash: null
+ name: tools
+ role: input
+ uid: ../deployment/rtems-tool-suite
+- hash: null
+ name: config
+ role: input
+ uid: ../deployment/config-extra-coverage
+- name: build
+ role: output
+ uid: ../build/bsp-extra-coverage
+params:
+ build-directory: ${../build/bsp-extra-coverage:/directory}
+ working-directory: ${../source/rtems:/directory}
+qdp-type: build-step
+type: qdp
diff --git a/spec-qdp/qdp/steps/bsp-extra.yml b/spec-qdp/qdp/steps/bsp-extra.yml
new file mode 100644
index 00000000..c606fec4
--- /dev/null
+++ b/spec-qdp/qdp/steps/bsp-extra.yml
@@ -0,0 +1,89 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+build-step-type: run-actions
+actions:
+- action: remove-tree
+ enabled-by: true
+ missing-ok: true
+ path: ${.:/params/build-directory}
+- action: remove-glob
+ enabled-by: true
+ remove-tree: true
+ path: ${.:/params/working-directory}
+ patterns:
+ - .lock-waf*
+ - .waf*
+- action: subprocess
+ command:
+ - ./waf
+ - configure
+ - --out=${.:/params/build-directory}
+ - --prefix=${../variant:/deployment-directory}
+ - --rtems-tools=${../deployment/rtems-tool-suite:/directory}
+ - --rtems-config=${../deployment/config-extra:/file}
+ enabled-by: true
+ env: []
+ expected-return-code: 0
+ working-directory: ${.:/params/working-directory}
+- action: subprocess
+ command:
+ - ./waf
+ - build
+ enabled-by: true
+ env: []
+ expected-return-code: 0
+ working-directory: ${.:/params/working-directory}
+- action: subprocess
+ command:
+ - ./waf
+ - install
+ - --destdir=${.:/params/intermediate-directory}
+ enabled-by: true
+ env: []
+ expected-return-code: 0
+ working-directory: ${.:/params/working-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/intermediate-directory}/${../variant:/deployment-directory}
+- action: remove-glob
+ enabled-by: true
+ remove-tree: true
+ path: ${.:/params/working-directory}
+ patterns:
+ - .lock-waf*
+ - .waf*
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH & Co. KG
+description: |
+ Builds the BSP in the extra configuration.
+enabled-by: true
+links:
+- hash: null
+ name: source
+ role: input
+ uid: ../source/rtems
+- hash: null
+ name: tools
+ role: input
+ uid: ../deployment/rtems-tool-suite
+- hash: null
+ name: config
+ role: input
+ uid: ../deployment/config-extra
+- name: build
+ role: output
+ uid: ../build/bsp-extra
+- name: deployment
+ role: output
+ uid: ../deployment/bsp-extra
+params:
+ build-directory: ${../build/bsp-extra:/directory}
+ intermediate-directory: ${.:/params/build-directory}/destdir
+ working-directory: ${../source/rtems:/directory}
+qdp-type: build-step
+type: qdp
diff --git a/spec-qdp/qdp/steps/bsp-qual-only-coverage.yml b/spec-qdp/qdp/steps/bsp-qual-only-coverage.yml
new file mode 100644
index 00000000..26fcc7da
--- /dev/null
+++ b/spec-qdp/qdp/steps/bsp-qual-only-coverage.yml
@@ -0,0 +1,76 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+build-step-type: run-actions
+actions:
+- action: remove-tree
+ enabled-by: true
+ missing-ok: true
+ path: ${.:/params/build-directory}
+- action: remove-glob
+ enabled-by: true
+ remove-tree: true
+ path: ${.:/params/working-directory}
+ patterns:
+ - .lock-waf*
+ - .waf*
+- action: subprocess
+ command:
+ - ./waf
+ - configure
+ - --out=${.:/params/build-directory}
+ - --prefix=${../variant:/build-directory}
+ - --rtems-tools=${../deployment/rtems-tool-suite:/directory}
+ - --rtems-config=${../deployment/config-qual-only-coverage:/file}
+ - --rtems-specs=${../source/rtems:/directory}/spec/build
+ enabled-by: true
+ env: []
+ expected-return-code: 0
+ working-directory: ${.:/params/working-directory}
+- action: subprocess
+ command:
+ - ./waf
+ - build
+ enabled-by: true
+ env: []
+ expected-return-code: 0
+ working-directory: ${.:/params/working-directory}
+- action: remove-glob
+ enabled-by: true
+ remove-tree: true
+ path: ${.:/params/working-directory}
+ patterns:
+ - .lock-waf*
+ - .waf*
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH & Co. KG
+description: |
+ Builds the BSP in the qual-only-coverage configuration.
+enabled-by: true
+links:
+- hash: null
+ name: source
+ role: input
+ uid: ../source/rtems
+- hash: null
+ name: source
+ role: input
+ uid: ../source/rtems-qual-only
+- hash: null
+ name: tools
+ role: input
+ uid: ../deployment/rtems-tool-suite
+- hash: null
+ name: config
+ role: input
+ uid: ../deployment/config-qual-only-coverage
+- hash: null
+ name: config
+ role: input
+ uid: ../deployment/config-qual-only-version
+- name: build
+ role: output
+ uid: ../build/bsp-qual-only-coverage
+params:
+ build-directory: ${../build/bsp-qual-only-coverage:/directory}
+ working-directory: ${../source/rtems-qual-only:/directory}
+qdp-type: build-step
+type: qdp
diff --git a/spec-qdp/qdp/steps/bsp-qual-only.yml b/spec-qdp/qdp/steps/bsp-qual-only.yml
new file mode 100644
index 00000000..a335b1a1
--- /dev/null
+++ b/spec-qdp/qdp/steps/bsp-qual-only.yml
@@ -0,0 +1,98 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+build-step-type: run-actions
+actions:
+- action: remove-tree
+ enabled-by: true
+ missing-ok: true
+ path: ${.:/params/build-directory}
+- action: remove-glob
+ enabled-by: true
+ remove-tree: true
+ path: ${.:/params/working-directory}
+ patterns:
+ - .lock-waf*
+ - .waf*
+- action: subprocess
+ command:
+ - ./waf
+ - configure
+ - --out=${.:/params/build-directory}
+ - --prefix=${../variant:/deployment-directory}
+ - --rtems-tools=${../deployment/rtems-tool-suite:/directory}
+ - --rtems-config=${../deployment/config-qual-only:/file}
+ - --rtems-specs=${../source/rtems:/directory}/spec/build
+ enabled-by: true
+ env: []
+ expected-return-code: 0
+ working-directory: ${.:/params/working-directory}
+- action: subprocess
+ command:
+ - ./waf
+ - build
+ enabled-by: true
+ env: []
+ expected-return-code: 0
+ working-directory: ${.:/params/working-directory}
+- action: subprocess
+ command:
+ - ./waf
+ - install
+ - --destdir=${.:/params/intermediate-directory}
+ enabled-by: true
+ env: []
+ expected-return-code: 0
+ working-directory: ${.:/params/working-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/intermediate-directory}/${../variant:/deployment-directory}
+- action: remove-glob
+ enabled-by: true
+ remove-tree: true
+ path: ${.:/params/working-directory}
+ patterns:
+ - .lock-waf*
+ - .waf*
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH & Co. KG
+description: |
+ Builds the BSP in the qual-only configuration.
+enabled-by: true
+links:
+- hash: null
+ name: source
+ role: input
+ uid: ../source/rtems
+- hash: null
+ name: source
+ role: input
+ uid: ../source/rtems-qual-only
+- hash: null
+ name: tools
+ role: input
+ uid: ../deployment/rtems-tool-suite
+- hash: null
+ name: config
+ role: input
+ uid: ../deployment/config-qual-only
+- hash: null
+ name: config
+ role: input
+ uid: ../deployment/config-qual-only-version
+- name: build
+ role: output
+ uid: ../build/bsp-qual-only
+- name: deployment
+ role: output
+ uid: ../deployment/bsp-qual-only
+params:
+ build-directory: ${../build/bsp-qual-only:/directory}
+ intermediate-directory: ${.:/params/build-directory}/destdir
+ working-directory: ${../source/rtems-qual-only:/directory}
+qdp-type: build-step
+type: qdp