[rtems commit] bsps/xilinx_zynq: Add SPI driver to waf

Jan Sommer jan at rtems.org
Wed Mar 10 19:14:02 UTC 2021


Module:    rtems
Branch:    master
Commit:    06129897a9e616a3cfad0d9803d14da68b5cfe3e
Changeset: http://git.rtems.org/rtems/commit/?id=06129897a9e616a3cfad0d9803d14da68b5cfe3e

Author:    Jan Sommer <jan.sommer at dlr.de>
Date:      Wed Dec  2 13:31:06 2020 +0100

bsps/xilinx_zynq: Add SPI driver to waf

Updates #4320

---

 spec/build/bsps/aarch64/xilinx-zynqmp/grp.yml         |  2 ++
 spec/build/bsps/arm/xilinx-zynq/grp.yml               |  2 ++
 spec/build/bsps/arm/xilinx-zynqmp/bspxilinxzynqmp.yml |  2 ++
 spec/build/bsps/objdevspizynq.yml                     | 18 ++++++++++++++++++
 4 files changed, 24 insertions(+)

diff --git a/spec/build/bsps/aarch64/xilinx-zynqmp/grp.yml b/spec/build/bsps/aarch64/xilinx-zynqmp/grp.yml
index 552723c..c952b4f 100644
--- a/spec/build/bsps/aarch64/xilinx-zynqmp/grp.yml
+++ b/spec/build/bsps/aarch64/xilinx-zynqmp/grp.yml
@@ -34,6 +34,8 @@ links:
 - role: build-dependency
   uid: ../../objdevserialzynq
 - role: build-dependency
+  uid: ../../objdevspizynq
+- role: build-dependency
   uid: ../../optcachedata
 - role: build-dependency
   uid: ../../optcacheinst
diff --git a/spec/build/bsps/arm/xilinx-zynq/grp.yml b/spec/build/bsps/arm/xilinx-zynq/grp.yml
index 74adbd7..0bbee19 100644
--- a/spec/build/bsps/arm/xilinx-zynq/grp.yml
+++ b/spec/build/bsps/arm/xilinx-zynq/grp.yml
@@ -58,6 +58,8 @@ links:
 - role: build-dependency
   uid: ../../objdevserialzynq
 - role: build-dependency
+  uid: ../../objdevspizynq
+- role: build-dependency
   uid: linkcmds
 - role: build-dependency
   uid: ../../bspopts
diff --git a/spec/build/bsps/arm/xilinx-zynqmp/bspxilinxzynqmp.yml b/spec/build/bsps/arm/xilinx-zynqmp/bspxilinxzynqmp.yml
index b8657b5..b489752 100644
--- a/spec/build/bsps/arm/xilinx-zynqmp/bspxilinxzynqmp.yml
+++ b/spec/build/bsps/arm/xilinx-zynqmp/bspxilinxzynqmp.yml
@@ -70,6 +70,8 @@ links:
 - role: build-dependency
   uid: ../../objdevserialzynq
 - role: build-dependency
+  uid: ../../objdevspizynq
+- role: build-dependency
   uid: ../../opto2
 - role: build-dependency
   uid: linkcmds
diff --git a/spec/build/bsps/objdevspizynq.yml b/spec/build/bsps/objdevspizynq.yml
new file mode 100644
index 0000000..b778e75
--- /dev/null
+++ b/spec/build/bsps/objdevspizynq.yml
@@ -0,0 +1,18 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+build-type: objects
+cflags: []
+copyrights:
+- Copyright (C) 2021 German Aerospace Center (DLR)
+cppflags: []
+cxxflags: []
+enabled-by: true
+includes: []
+install:
+- destination: ${BSP_INCLUDEDIR}/dev/spi
+  source:
+  - bsps/include/dev/spi/cadence-spi-regs.h
+  - bsps/include/dev/spi/cadence-spi.h
+links: []
+source:
+- bsps/shared/dev/spi/cadence-spi.c
+type: build



More information about the vc mailing list