[PATCH 2/3] bsps/shared: Add Xilinx-AXI SPI driver to waf

Jan Sommer jan.sommer at dlr.de
Wed Mar 10 20:14:47 UTC 2021


Updates #4321
---
 spec/build/bsps/aarch64/xilinx-zynqmp/grp.yml  |  2 ++
 spec/build/bsps/arm/xilinx-zynq/grp.yml        |  2 ++
 .../bsps/arm/xilinx-zynqmp/bspxilinxzynqmp.yml |  2 ++
 spec/build/bsps/objdevspixil.yml               | 18 ++++++++++++++++++
 4 files changed, 24 insertions(+)
 create mode 100644 spec/build/bsps/objdevspixil.yml

diff --git a/spec/build/bsps/aarch64/xilinx-zynqmp/grp.yml b/spec/build/bsps/aarch64/xilinx-zynqmp/grp.yml
index c952b4f59e..38b9be59da 100644
--- a/spec/build/bsps/aarch64/xilinx-zynqmp/grp.yml
+++ b/spec/build/bsps/aarch64/xilinx-zynqmp/grp.yml
@@ -35,6 +35,8 @@ links:
   uid: ../../objdevserialzynq
 - role: build-dependency
   uid: ../../objdevspizynq
+- role: build-dependency
+  uid: ../../objdevspixil
 - role: build-dependency
   uid: ../../optcachedata
 - role: build-dependency
diff --git a/spec/build/bsps/arm/xilinx-zynq/grp.yml b/spec/build/bsps/arm/xilinx-zynq/grp.yml
index 0bbee1922c..55eab20f84 100644
--- a/spec/build/bsps/arm/xilinx-zynq/grp.yml
+++ b/spec/build/bsps/arm/xilinx-zynq/grp.yml
@@ -59,6 +59,8 @@ links:
   uid: ../../objdevserialzynq
 - role: build-dependency
   uid: ../../objdevspizynq
+- role: build-dependency
+  uid: ../../objdevspixil
 - role: build-dependency
   uid: linkcmds
 - role: build-dependency
diff --git a/spec/build/bsps/arm/xilinx-zynqmp/bspxilinxzynqmp.yml b/spec/build/bsps/arm/xilinx-zynqmp/bspxilinxzynqmp.yml
index b489752420..21a21f3812 100644
--- a/spec/build/bsps/arm/xilinx-zynqmp/bspxilinxzynqmp.yml
+++ b/spec/build/bsps/arm/xilinx-zynqmp/bspxilinxzynqmp.yml
@@ -71,6 +71,8 @@ links:
   uid: ../../objdevserialzynq
 - role: build-dependency
   uid: ../../objdevspizynq
+- role: build-dependency
+  uid: ../../objdevspixil
 - role: build-dependency
   uid: ../../opto2
 - role: build-dependency
diff --git a/spec/build/bsps/objdevspixil.yml b/spec/build/bsps/objdevspixil.yml
new file mode 100644
index 0000000000..c499b4713d
--- /dev/null
+++ b/spec/build/bsps/objdevspixil.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/xilinx-axi-spi-regs.h
+  - bsps/include/dev/spi/xilinx-axi-spi.h
+links: []
+source:
+- bsps/shared/dev/spi/xilinx-axi-spi.c
+type: build
-- 
2.17.1



More information about the devel mailing list