summaryrefslogtreecommitdiffstats
path: root/spec/build/bsps
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2021-07-06 07:48:46 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2021-07-06 07:51:31 +0200
commitc9e0445932691b3b34c7fff979e5799d53d58d59 (patch)
tree39c76a2b9017c25b7d5b9c0587a2be4718a90f83 /spec/build/bsps
parentUpdate test smpstrongapa01 (diff)
downloadrtems-c9e0445932691b3b34c7fff979e5799d53d58d59.tar.bz2
build: Add option to customize the LINKFLAGS
Diffstat (limited to 'spec/build/bsps')
-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