summaryrefslogtreecommitdiffstats
path: root/spec-qdp
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2023-11-21 11:13:16 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2023-11-21 14:23:25 +0100
commit67bde93caa21dbc2e31cc3ce82d3ee6574bf29c0 (patch)
tree147b585c49cb7653fa9a3b32f935842ed86fd13b /spec-qdp
parentqdp: Create pre-qualified only sources (diff)
downloadrtems-central-67bde93caa21dbc2e31cc3ce82d3ee6574bf29c0.tar.bz2
qdp: Generate configuration files
Diffstat (limited to 'spec-qdp')
-rw-r--r--spec-qdp/qdp/deployment/config-extra-coverage.yml19
-rw-r--r--spec-qdp/qdp/deployment/config-extra.yml19
-rw-r--r--spec-qdp/qdp/deployment/config-qual-only-coverage.yml19
-rw-r--r--spec-qdp/qdp/deployment/config-qual-only-version.yml19
-rw-r--r--spec-qdp/qdp/deployment/config-qual-only.yml19
-rw-r--r--spec-qdp/qdp/package-build.yml2
-rw-r--r--spec-qdp/qdp/steps/create-config-files.yml199
7 files changed, 296 insertions, 0 deletions
diff --git a/spec-qdp/qdp/deployment/config-extra-coverage.yml b/spec-qdp/qdp/deployment/config-extra-coverage.yml
new file mode 100644
index 00000000..785265d1
--- /dev/null
+++ b/spec-qdp/qdp/deployment/config-extra-coverage.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: ${../source/rtems:/directory}
+directory-state-type: generic
+enabled-by: true
+files:
+- file: config-coverage.ini
+ 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/config-extra.yml b/spec-qdp/qdp/deployment/config-extra.yml
new file mode 100644
index 00000000..22512700
--- /dev/null
+++ b/spec-qdp/qdp/deployment/config-extra.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: ${../source/rtems:/directory}
+directory-state-type: generic
+enabled-by: true
+files:
+- file: config.ini
+ 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/config-qual-only-coverage.yml b/spec-qdp/qdp/deployment/config-qual-only-coverage.yml
new file mode 100644
index 00000000..dc46e470
--- /dev/null
+++ b/spec-qdp/qdp/deployment/config-qual-only-coverage.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: ${../source/rtems-qual-only:/directory}
+directory-state-type: generic
+enabled-by: true
+files:
+- file: config-coverage.ini
+ 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/config-qual-only-version.yml b/spec-qdp/qdp/deployment/config-qual-only-version.yml
new file mode 100644
index 00000000..5512087c
--- /dev/null
+++ b/spec-qdp/qdp/deployment/config-qual-only-version.yml
@@ -0,0 +1,19 @@
+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: ${../source/rtems-qual-only:/directory}
+directory-state-type: generic
+enabled-by: true
+files:
+- file: VERSION
+ 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/config-qual-only.yml b/spec-qdp/qdp/deployment/config-qual-only.yml
new file mode 100644
index 00000000..d722afad
--- /dev/null
+++ b/spec-qdp/qdp/deployment/config-qual-only.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: ${../source/rtems-qual-only:/directory}
+directory-state-type: generic
+enabled-by: true
+files:
+- file: config.ini
+ 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/package-build.yml b/spec-qdp/qdp/package-build.yml
index acb1eea6..acc3d488 100644
--- a/spec-qdp/qdp/package-build.yml
+++ b/spec-qdp/qdp/package-build.yml
@@ -6,6 +6,8 @@ links:
- role: build-step
uid: steps/create-pre-qualified-only-sources
- role: build-step
+ uid: steps/create-config-files
+- role: build-step
uid: steps/run-rsb
- role: build-step
uid: steps/archive
diff --git a/spec-qdp/qdp/steps/create-config-files.yml b/spec-qdp/qdp/steps/create-config-files.yml
new file mode 100644
index 00000000..7d5cdc58
--- /dev/null
+++ b/spec-qdp/qdp/steps/create-config-files.yml
@@ -0,0 +1,199 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+build-step-type: run-actions
+actions:
+- action: create-ini-file
+ enabled-by: true
+ output-name: config-extra
+ sections:
+ - enabled-by: true
+ key-value-pairs:
+ - enabled-by: RTEMS_QUAL
+ key: INHERIT
+ value: ${../variant:/bsp}
+ - enabled-by: true
+ key: RTEMS_BUILD_LABEL
+ value: ${../variant:/ident}${../variant:/params/bsp-extra/slash}
+ - enabled-by: RTEMS_SMP
+ key: RTEMS_SMP
+ value: 'True'
+ - enabled-by: true
+ key: BUILD_TESTS
+ value: 'True'
+ - enabled-by: true
+ key: BUILD_LIBDL_TESTS
+ value: 'False'
+ - enabled-by: true
+ key: BSP_PRINT_EXCEPTION_CONTEXT
+ value: 'False'
+ - enabled-by: riscv
+ key: BSP_VERBOSE_FATAL_EXTENSION
+ value: 'False'
+ - enabled-by: riscv
+ key: BSP_START_COPY_FDT_FROM_U_BOOT
+ value: 'False'
+ name: ${../variant:/arch}/${../variant:/bsp}${../variant:/params/bsp-extra/dash}
+ target: null
+- action: create-ini-file
+ enabled-by: true
+ output-name: config-extra-coverage
+ sections:
+ - enabled-by: true
+ key-value-pairs:
+ - enabled-by: RTEMS_QUAL
+ key: INHERIT
+ value: ${../variant:/bsp}
+ - enabled-by: true
+ key: RTEMS_BUILD_LABEL
+ value: ${../variant:/ident}${../variant:/params/bsp-extra/slash}/coverage
+ - enabled-by: RTEMS_SMP
+ key: RTEMS_SMP
+ value: 'True'
+ - enabled-by: true
+ key: BUILD_TESTS
+ value: 'True'
+ - enabled-by: true
+ key: BUILD_LIBDL_TESTS
+ value: 'False'
+ - enabled-by: true
+ key: BSP_PRINT_EXCEPTION_CONTEXT
+ value: 'False'
+ - enabled-by: riscv
+ key: BSP_VERBOSE_FATAL_EXTENSION
+ value: 'False'
+ - enabled-by: riscv
+ key: BSP_START_COPY_FDT_FROM_U_BOOT
+ value: 'False'
+ - enabled-by: true
+ key: RTEMS_GCOV_COVERAGE
+ value: 'True'
+ - enabled-by: true
+ key: BSP_OPTIMIZATION_FLAGS
+ value: -O0 -g -ffunction-sections -fdata-sections -frandom-seed=0
+ - enabled-by: true
+ key: CPUKIT_OPTIMIZATION_FLAGS
+ value: -O0 -g -ffunction-sections -fdata-sections -frandom-seed=0
+ name: ${../variant:/arch}/${../variant:/bsp}${../variant:/params/bsp-extra/dash}-coverage
+ target: null
+- action: create-ini-file
+ enabled-by: true
+ output-name: config-qual-only
+ sections:
+ - enabled-by: true
+ key-value-pairs:
+ - enabled-by: true
+ key: INHERIT
+ value: ${../variant:/bsp}
+ - enabled-by: true
+ key: RTEMS_BUILD_LABEL
+ value: ${../variant:/ident}/qual-only
+ - enabled-by: RTEMS_SMP
+ key: RTEMS_SMP
+ value: 'True'
+ - enabled-by: true
+ key: RTEMS_QUAL
+ value: 'True'
+ - enabled-by: true
+ key: BUILD_TESTS
+ value: 'True'
+ - enabled-by: true
+ key: BSP_PRINT_EXCEPTION_CONTEXT
+ value: 'False'
+ - enabled-by: riscv
+ key: BSP_VERBOSE_FATAL_EXTENSION
+ value: 'False'
+ - enabled-by: riscv
+ key: BSP_START_COPY_FDT_FROM_U_BOOT
+ value: 'False'
+ - enabled-by: true
+ key: OPTIMIZATION_FLAGS
+ value: -O2 -g -ffunction-sections -fdata-sections -save-temps=obj
+ name: ${../variant:/arch}/${../variant:/bsp}-qual-only
+ target: null
+- action: create-ini-file
+ enabled-by: true
+ output-name: config-qual-only-coverage
+ sections:
+ - enabled-by: true
+ key-value-pairs:
+ - enabled-by: true
+ key: INHERIT
+ value: ${../variant:/bsp}
+ - enabled-by: true
+ key: RTEMS_BUILD_LABEL
+ value: ${../variant:/ident}/qual-only-coverage
+ - enabled-by: RTEMS_SMP
+ key: RTEMS_SMP
+ value: 'True'
+ - enabled-by: true
+ key: RTEMS_QUAL
+ value: 'True'
+ - enabled-by: true
+ key: BUILD_TESTS
+ value: 'True'
+ - enabled-by: true
+ key: BSP_PRINT_EXCEPTION_CONTEXT
+ value: 'False'
+ - enabled-by: riscv
+ key: BSP_VERBOSE_FATAL_EXTENSION
+ value: 'False'
+ - enabled-by: riscv
+ key: BSP_START_COPY_FDT_FROM_U_BOOT
+ value: 'False'
+ - enabled-by: true
+ key: RTEMS_GCOV_COVERAGE
+ value: 'True'
+ - enabled-by: true
+ key: BSP_OPTIMIZATION_FLAGS
+ value: -O0 -g -ffunction-sections -fdata-sections -frandom-seed=0
+ - enabled-by: true
+ key: CPUKIT_OPTIMIZATION_FLAGS
+ value: -O0 -g -ffunction-sections -fdata-sections -frandom-seed=0
+ name: ${../variant:/arch}/${../variant:/bsp}-qual-only-coverage
+ target: null
+- action: create-ini-file
+ enabled-by: true
+ output-name: config-qual-only-version
+ sections:
+ - enabled-by: true
+ key-value-pairs:
+ - enabled-by: true
+ key: RTEMS_VERSION_CONTROL_KEY
+ value: ${../source/rtems:/commit}
+ name: RTEMS_VERSION
+ target: null
+copyrights:
+- Copyright (C) 2022, 2023 embedded brains GmbH & Co. KG
+description: |
+ Generate configuration files.
+enabled-by: true
+links:
+- hash: null
+ name: variant
+ role: input
+ uid: ../variant
+- hash: null
+ name: source
+ role: input
+ uid: ../source/rtems
+- hash: null
+ name: source
+ role: input
+ uid: ../source/rtems-qual-only
+- name: config-extra
+ role: output
+ uid: ../deployment/config-extra
+- name: config-extra-coverage
+ role: output
+ uid: ../deployment/config-extra-coverage
+- name: config-qual-only
+ role: output
+ uid: ../deployment/config-qual-only
+- name: config-qual-only-coverage
+ role: output
+ uid: ../deployment/config-qual-only-coverage
+- name: config-qual-only-version
+ role: output
+ uid: ../deployment/config-qual-only-version
+params: {}
+qdp-type: build-step
+type: qdp