diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2022-06-27 11:28:34 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2022-07-04 08:29:52 +0200 |
commit | a13047ca0e965136815a77ee2651d5e7821b59f7 (patch) | |
tree | f82623a51ad4b3333e108661c9a2b434d60b8043 /spec/build/bsps/opttestoptflags.yml | |
parent | build: Fix optimization flags definition order (diff) | |
download | rtems-a13047ca0e965136815a77ee2651d5e7821b59f7.tar.bz2 |
build: Allow separate optimization flags
Allow separate optimization flags for the BSP, cpukit, and tests. For example,
the BSP and cpukit may be built without optimization if coverage
instrumentation is enabled, however, the tests may still use optimization.
Update #4670.
Diffstat (limited to '')
-rw-r--r-- | spec/build/bsps/opttestoptflags.yml | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/spec/build/bsps/opttestoptflags.yml b/spec/build/bsps/opttestoptflags.yml new file mode 100644 index 0000000000..43e0c92c07 --- /dev/null +++ b/spec/build/bsps/opttestoptflags.yml @@ -0,0 +1,18 @@ +SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause +actions: +- get-string: null +- substitute: null +- split: null +- env-assign: null +build-type: option +copyrights: +- Copyright (C) 2022 embedded brains GmbH (http://www.embedded-brains.de) +default: ${OPTIMIZATION_FLAGS} +default-by-variant: [] +description: | + Optimization flags passed to C and C++ compiler for tests. +enabled-by: true +format: '{}' +links: [] +name: TEST_OPTIMIZATION_FLAGS +type: build |