mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-03-27 13:49:56 +00:00
spec/build/riscv: add SBI
Enable the imported SBI in the build for riscv/riscv. Other riscv BSPs would need to add the entry for optincludes in addition to adding objsbi to their grp. Updates #3337
This commit is contained in:
committed by
Kinsey Moore
parent
da3313a562
commit
10cb664875
17
spec/build/bsps/riscv/objsbi.yml
Normal file
17
spec/build/bsps/riscv/objsbi.yml
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
|
||||||
|
build-type: objects
|
||||||
|
cflags: []
|
||||||
|
copyrights:
|
||||||
|
- Copyright (C) 2026 Gedare Bloom
|
||||||
|
cppflags: []
|
||||||
|
cxxflags: []
|
||||||
|
enabled-by: true
|
||||||
|
includes: []
|
||||||
|
install:
|
||||||
|
- destination: ${BSP_INCLUDEDIR}/machine
|
||||||
|
source:
|
||||||
|
- contrib/bsps/sbi/sbi.h
|
||||||
|
links: []
|
||||||
|
source:
|
||||||
|
- contrib/bsps/riscv/sbi/sbi.c
|
||||||
|
type: build
|
||||||
@@ -34,6 +34,8 @@ links:
|
|||||||
uid: obj
|
uid: obj
|
||||||
- role: build-dependency
|
- role: build-dependency
|
||||||
uid: objsmp
|
uid: objsmp
|
||||||
|
- role: build-dependency
|
||||||
|
uid: ../objsbi
|
||||||
- role: build-dependency
|
- role: build-dependency
|
||||||
uid: ../../objmem
|
uid: ../../objmem
|
||||||
- role: build-dependency
|
- role: build-dependency
|
||||||
@@ -68,6 +70,8 @@ links:
|
|||||||
uid: ../start
|
uid: ../start
|
||||||
- role: build-dependency
|
- role: build-dependency
|
||||||
uid: ../../bspopts
|
uid: ../../bspopts
|
||||||
|
- role: build-dependency
|
||||||
|
uid: optincludes
|
||||||
type: build
|
type: build
|
||||||
use-after: []
|
use-after: []
|
||||||
use-before: []
|
use-before: []
|
||||||
|
|||||||
16
spec/build/bsps/riscv/riscv/optincludes.yml
Normal file
16
spec/build/bsps/riscv/riscv/optincludes.yml
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
|
||||||
|
actions:
|
||||||
|
- set-value: |
|
||||||
|
bsps/include bsps/${ARCH}/include bsps/${ARCH}/${BSP_FAMILY}/include contrib/bsps/${ARCH}/include
|
||||||
|
- substitute: null
|
||||||
|
- split: null
|
||||||
|
- env-assign: null
|
||||||
|
build-type: option
|
||||||
|
copyrights:
|
||||||
|
- Copyright (C) 2026 Gedare Bloom
|
||||||
|
default: []
|
||||||
|
description: ''
|
||||||
|
enabled-by: true
|
||||||
|
links: []
|
||||||
|
name: BSP_INCLUDES
|
||||||
|
type: build
|
||||||
Reference in New Issue
Block a user