summaryrefslogtreecommitdiff
path: root/spec/build
diff options
context:
space:
mode:
Diffstat (limited to 'spec/build')
-rw-r--r--spec/build/bsps/bspopts.yml2
-rw-r--r--spec/build/bsps/optldflags.yml3
-rw-r--r--spec/build/bsps/optldflagsqualonly.yml24
-rw-r--r--spec/build/cpukit/cpusparcqualonly.yml17
-rw-r--r--spec/build/cpukit/librtemscpu.yml4
-rw-r--r--spec/build/cpukit/objqualonly.yml22
6 files changed, 71 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
diff --git a/spec/build/cpukit/cpusparcqualonly.yml b/spec/build/cpukit/cpusparcqualonly.yml
new file mode 100644
index 0000000000..1aede8582b
--- /dev/null
+++ b/spec/build/cpukit/cpusparcqualonly.yml
@@ -0,0 +1,17 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+build-type: objects
+cflags: []
+copyrights:
+- Copyright (C) 2021 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+cxxflags: []
+enabled-by:
+ and:
+ - sparc
+ - RTEMS_QUAL_ONLY
+includes: []
+install: []
+links: []
+source:
+- cpukit/score/cpu/sparc/setjmp.S
+type: build
diff --git a/spec/build/cpukit/librtemscpu.yml b/spec/build/cpukit/librtemscpu.yml
index bd39fb0b99..3cb9a3ff9b 100644
--- a/spec/build/cpukit/librtemscpu.yml
+++ b/spec/build/cpukit/librtemscpu.yml
@@ -248,10 +248,14 @@ links:
- role: build-dependency
uid: cpusparcqual
- role: build-dependency
+ uid: cpusparcqualonly
+- role: build-dependency
uid: grprtemscpunoqual
- role: build-dependency
uid: librtemscpuextra
- role: build-dependency
+ uid: objqualonly
+- role: build-dependency
uid: objsmpqual
- role: build-dependency
uid: vckey
diff --git a/spec/build/cpukit/objqualonly.yml b/spec/build/cpukit/objqualonly.yml
new file mode 100644
index 0000000000..d36fc63865
--- /dev/null
+++ b/spec/build/cpukit/objqualonly.yml
@@ -0,0 +1,22 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+build-type: objects
+cflags: []
+copyrights:
+- Copyright (C) 2021 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+cxxflags: []
+enabled-by:
+- RTEMS_QUAL_ONLY
+includes: []
+install: []
+links: []
+source:
+- cpukit/libc/search/qsort.c
+- cpukit/libc/string/flsl.c
+- cpukit/libc/string/memcpy.c
+- cpukit/libc/string/memset.c
+- cpukit/libc/string/strcmp.c
+- cpukit/libc/string/strlen.c
+- cpukit/libc/string/strchr.c
+- cpukit/libc/string/strrchr.c
+type: build