diff options
Diffstat (limited to 'spec/build/bsps')
-rw-r--r-- | spec/build/bsps/bspopts.yml | 2 | ||||
-rw-r--r-- | spec/build/bsps/optldflags.yml | 3 | ||||
-rw-r--r-- | spec/build/bsps/optldflagsqualonly.yml | 24 |
3 files changed, 28 insertions, 1 deletions
diff --git a/spec/build/bsps/bspopts.yml b/spec/build/bsps/bspopts.yml index 836d94476e..c7dd884012 100644 --- a/spec/build/bsps/bspopts.yml +++ b/spec/build/bsps/bspopts.yml @@ -20,6 +20,8 @@ links: - role: build-dependency uid: optldflags - role: build-dependency + uid: optldflagsqualonly +- role: build-dependency uid: optldflagsbsp - role: build-dependency uid: optmakelegacy diff --git a/spec/build/bsps/optldflags.yml b/spec/build/bsps/optldflags.yml index d0e365f407..b82600d809 100644 --- a/spec/build/bsps/optldflags.yml +++ b/spec/build/bsps/optldflags.yml @@ -12,7 +12,8 @@ default: default-by-variant: [] description: | Flags passed to the linker (GNU ld) -enabled-by: true +enabled-by: + not: RTEMS_QUAL_ONLY links: [] name: LDFLAGS type: build diff --git a/spec/build/bsps/optldflagsqualonly.yml b/spec/build/bsps/optldflagsqualonly.yml new file mode 100644 index 0000000000..50ca7e52f3 --- /dev/null +++ b/spec/build/bsps/optldflagsqualonly.yml @@ -0,0 +1,24 @@ +SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause +actions: +- get-string: null +- split: null +- env-append: null +- env-append: PKGCONFIG_LDFLAGS +build-type: option +copyrights: +- Copyright (C) 2021 embedded brains GmbH (http://www.embedded-brains.de) +default: +- -Wl,--gc-sections +- -nodefaultlibs +- -Wl,--start-group +- -lrtemscpu +- -lrtemsbsp +- -lgcc +- -Wl,--end-group +default-by-variant: [] +description: | + Flags passed to the linker (GNU ld) +enabled-by: RTEMS_QUAL_ONLY +links: [] +name: LDFLAGS +type: build |