summaryrefslogtreecommitdiffstats
path: root/spec/build/bsps/arm
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2022-09-20 10:33:01 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2022-09-20 10:35:06 +0200
commit63cf58336513c16bac50a781223308dc92909c95 (patch)
tree62da30bfa28fa8703e0022e2c7d7c31c3af019cb /spec/build/bsps/arm
parentbsp/tms570: Fix declarations (diff)
downloadrtems-63cf58336513c16bac50a781223308dc92909c95.tar.bz2
bsp/tms570: Fix TMS570_USE_HWINIT_STARTUP
Make sure only one module is built which defines bsp_start_hook_0().
Diffstat (limited to 'spec/build/bsps/arm')
-rw-r--r--spec/build/bsps/arm/tms570/grp.yml6
-rw-r--r--spec/build/bsps/arm/tms570/obj.yml1
-rw-r--r--spec/build/bsps/arm/tms570/objnohwinit.yml15
3 files changed, 19 insertions, 3 deletions
diff --git a/spec/build/bsps/arm/tms570/grp.yml b/spec/build/bsps/arm/tms570/grp.yml
index 60d82270c0..578cba29ee 100644
--- a/spec/build/bsps/arm/tms570/grp.yml
+++ b/spec/build/bsps/arm/tms570/grp.yml
@@ -19,14 +19,16 @@ links:
- role: build-dependency
uid: obj
- role: build-dependency
+ uid: optlowinit
+- role: build-dependency
uid: objhwinit
- role: build-dependency
+ uid: objnohwinit
+- role: build-dependency
uid: optcclk
- role: build-dependency
uid: optconirq
- role: build-dependency
- uid: optlowinit
-- role: build-dependency
uid: optmintskstksz
- role: build-dependency
uid: optoscmain
diff --git a/spec/build/bsps/arm/tms570/obj.yml b/spec/build/bsps/arm/tms570/obj.yml
index 348fd8a594..3c8e0ed0c4 100644
--- a/spec/build/bsps/arm/tms570/obj.yml
+++ b/spec/build/bsps/arm/tms570/obj.yml
@@ -84,7 +84,6 @@ source:
- bsps/arm/tms570/irq/irq.c
- bsps/arm/tms570/start/bspreset.c
- bsps/arm/tms570/start/bspstart.c
-- bsps/arm/tms570/start/bspstarthooks.c
- bsps/arm/tms570/start/pinmux.c
- bsps/arm/tms570/start/tms570-pom.c
- bsps/shared/cache/nocache.c
diff --git a/spec/build/bsps/arm/tms570/objnohwinit.yml b/spec/build/bsps/arm/tms570/objnohwinit.yml
new file mode 100644
index 0000000000..dc71cf71fa
--- /dev/null
+++ b/spec/build/bsps/arm/tms570/objnohwinit.yml
@@ -0,0 +1,15 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+build-type: objects
+cflags: []
+copyrights:
+- Copyright (C) 2022 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+cxxflags: []
+enabled-by:
+ not: TMS570_USE_HWINIT_STARTUP
+includes: []
+install: []
+links: []
+source:
+- bsps/arm/tms570/start/bspstarthooks.c
+type: build