bsp/tms570: Fix TMS570_USE_HWINIT_STARTUP

Make sure only one module is built which defines bsp_start_hook_0().
This commit is contained in:
Sebastian Huber
2022-09-20 10:33:01 +02:00
parent f3f5b2781f
commit 63cf583365
3 changed files with 19 additions and 3 deletions

View File

@@ -18,14 +18,16 @@ links:
uid: abi
- 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

View File

@@ -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

View File

@@ -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