summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--spec/build/bsps/bspopts.yml2
-rw-r--r--spec/build/bsps/optldflags.yml2
-rw-r--r--spec/build/bsps/optlinkflags.yml16
3 files changed, 19 insertions, 1 deletions
diff --git a/spec/build/bsps/bspopts.yml b/spec/build/bsps/bspopts.yml
index 836d94476e..d43136e94e 100644
--- a/spec/build/bsps/bspopts.yml
+++ b/spec/build/bsps/bspopts.yml
@@ -18,6 +18,8 @@ links:
- role: build-dependency
uid: optincludes
- role: build-dependency
+ uid: optlinkflags
+- role: build-dependency
uid: optldflags
- role: build-dependency
uid: optldflagsbsp
diff --git a/spec/build/bsps/optldflags.yml b/spec/build/bsps/optldflags.yml
index d0e365f407..d86d8cfb50 100644
--- a/spec/build/bsps/optldflags.yml
+++ b/spec/build/bsps/optldflags.yml
@@ -11,7 +11,7 @@ default:
- -Wl,--gc-sections
default-by-variant: []
description: |
- Flags passed to the linker (GNU ld)
+ Flags passed to the linker at the end of the link command.
enabled-by: true
links: []
name: LDFLAGS
diff --git a/spec/build/bsps/optlinkflags.yml b/spec/build/bsps/optlinkflags.yml
new file mode 100644
index 0000000000..35fa483721
--- /dev/null
+++ b/spec/build/bsps/optlinkflags.yml
@@ -0,0 +1,16 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-string: null
+- split: null
+- env-append: null
+build-type: option
+copyrights:
+- Copyright (C) 2021 embedded brains GmbH (http://www.embedded-brains.de)
+default: []
+default-by-variant: []
+description: |
+ Flags passed to the linker.
+enabled-by: true
+links: []
+name: LINKFLAGS
+type: build