spec: Refactor arm-pl011 build options

Close #5026
This commit is contained in:
Ning Yang
2024-09-19 13:14:43 +08:00
parent 6482c5cc56
commit 1b5cd007e7
11 changed files with 36 additions and 14 deletions

View File

@@ -32,6 +32,8 @@ links:
uid: ../objclockarmgenerictimer
- role: build-dependency
uid: ../../obj
- role: build-dependency
uid: ../../objdevserialarmpl011
- role: build-dependency
uid: ../../objirq
- role: build-dependency

View File

@@ -32,6 +32,8 @@ links:
uid: ../objclockarmgenerictimer
- role: build-dependency
uid: ../../obj
- role: build-dependency
uid: ../../objdevserialarmpl011
- role: build-dependency
uid: ../../objirq
- role: build-dependency

View File

@@ -39,8 +39,6 @@ links:
uid: ../optgtuseps
- role: build-dependency
uid: abi
- role: build-dependency
uid: ../../optconsolefifo
- role: build-dependency
uid: ../../optconsoleirq
- role: build-dependency
@@ -57,6 +55,8 @@ links:
uid: ../../dev/irq/objarmgicv2
- role: build-dependency
uid: ../../obj
- role: build-dependency
uid: ../../objdevserialarmpl011
- role: build-dependency
uid: ../../objirq
- role: build-dependency
@@ -75,7 +75,6 @@ source:
- bsps/shared/dev/irq/arm-gicv2-get-attributes.c
- bsps/shared/dev/serial/console-termios-init.c
- bsps/shared/dev/serial/console-termios.c
- bsps/shared/dev/serial/arm-pl011.c
- bsps/shared/dev/getentropy/getentropy-cpucounter.c
- bsps/shared/dev/btimer/btimer-cpucounter.c
- bsps/shared/irq/irq-default-handler.c

View File

@@ -24,10 +24,6 @@ links:
uid: abi
- role: build-dependency
uid: obj
- role: build-dependency
uid: ../../optconsolefifo
- role: build-dependency
uid: ../../optconsoleirq
- role: build-dependency
uid: optloadoff
- role: build-dependency
@@ -50,6 +46,8 @@ links:
uid: ../objclockarmgenerictimer
- role: build-dependency
uid: ../../obj
- role: build-dependency
uid: ../../objdevserialarmpl011
- role: build-dependency
uid: ../../objirq
- role: build-dependency
@@ -68,6 +66,8 @@ links:
uid: ../../optcachedata
- role: build-dependency
uid: ../../optcacheinst
- role: build-dependency
uid: ../../optconsoleirq
- role: build-dependency
uid: ../../opto2
- role: build-dependency

View File

@@ -17,13 +17,11 @@ install:
- bsps/aarch64/include/bsp/aarch64-mmu.h
- destination: ${BSP_INCLUDEDIR}/dev/serial
source:
- bsps/include/dev/serial/arm-pl011.h
- bsps/aarch64/xilinx-versal/include/dev/serial/versal-uart.h
links: []
source:
- bsps/aarch64/shared/cache/cache.c
- bsps/aarch64/shared/mmu/vmsav8-64.c
- bsps/shared/dev/serial/arm-pl011.c
- bsps/aarch64/xilinx-versal/console/console.c
- bsps/aarch64/xilinx-versal/dev/serial/versal-uart.c
- bsps/aarch64/xilinx-versal/start/bspstart.c

View File

@@ -38,6 +38,8 @@ links:
uid: ../start
- role: build-dependency
uid: ../../obj
- role: build-dependency
uid: ../../objdevserialarmpl011
- role: build-dependency
uid: ../../objirq
- role: build-dependency

View File

@@ -49,6 +49,8 @@ links:
uid: ../../dev/irq/objarmgicv2
- role: build-dependency
uid: ../../obj
- role: build-dependency
uid: ../../objdevserialarmpl011
- role: build-dependency
uid: ../../objirq
- role: build-dependency

View File

@@ -46,6 +46,8 @@ links:
uid: ../../dev/irq/objarmgicv2
- role: build-dependency
uid: ../../obj
- role: build-dependency
uid: ../../objdevserialarmpl011
- role: build-dependency
uid: ../../objirq
- role: build-dependency

View File

@@ -55,10 +55,6 @@ install:
- bsps/include/libchip/spi-memdrv.h
- bsps/include/libchip/spi-sd-card.h
- bsps/include/libchip/wd80x3.h
- destination: ${BSP_INCLUDEDIR}/dev/serial
source:
- bsps/include/dev/serial/arm-pl011-regs.h
- bsps/include/dev/serial/arm-pl011.h
- destination: ${BSP_INCLUDEDIR}/rtems/zilog
source:
- bsps/include/rtems/zilog/z8036.h
@@ -100,7 +96,6 @@ source:
- bsps/shared/dev/rtc/m48t08_reg8.c
- bsps/shared/dev/rtc/mcp7940m.c
- bsps/shared/dev/rtc/rtcprobe.c
- bsps/shared/dev/serial/arm-pl011.c
- bsps/shared/dev/serial/ns16550-context.c
- bsps/shared/dev/serial/ns16550.c
- bsps/shared/dev/serial/serprobe.c

View File

@@ -0,0 +1,20 @@
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
build-type: objects
cflags: []
copyrights:
- Copyright (C) 2024 Ning Yang
cppflags: []
cxxflags: []
enabled-by: true
includes: []
install:
- destination: ${BSP_INCLUDEDIR}/dev/serial
source:
- bsps/include/dev/serial/arm-pl011-regs.h
- bsps/include/dev/serial/arm-pl011.h
links:
- role: build-dependency
uid: optarmpl011fifodepth
source:
- bsps/shared/dev/serial/arm-pl011.c
type: build