[rtems commit] spec: Update location of cadence I2C

Joel Sherrill joel at rtems.org
Thu Dec 9 14:30:05 UTC 2021


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

Author:    Kinsey Moore <kinsey.moore at oarcorp.com>
Date:      Wed Dec  8 19:06:29 2021 -0600

spec: Update location of cadence I2C

When the cadence I2C code was moved to a shared directory, the
references were updated but the install locations weren't. This updates
the install locations to match what out-of-tree applications expect.

---

 spec/build/bsps/aarch64/xilinx-zynqmp/objcadencei2c.yml | 4 +++-
 spec/build/bsps/arm/xilinx-zynq/obj.yml                 | 6 ++++--
 2 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/spec/build/bsps/aarch64/xilinx-zynqmp/objcadencei2c.yml b/spec/build/bsps/aarch64/xilinx-zynqmp/objcadencei2c.yml
index fd9d51d..fa269d6 100644
--- a/spec/build/bsps/aarch64/xilinx-zynqmp/objcadencei2c.yml
+++ b/spec/build/bsps/aarch64/xilinx-zynqmp/objcadencei2c.yml
@@ -10,9 +10,11 @@ includes: []
 install:
 - destination: ${BSP_INCLUDEDIR}/bsp
   source:
+  - bsps/aarch64/xilinx-zynqmp/include/bsp/i2c.h
+- destination: ${BSP_INCLUDEDIR}/dev/i2c
+  source:
   - bsps/include/dev/i2c/cadence-i2c-regs.h
   - bsps/include/dev/i2c/cadence-i2c.h
-  - bsps/aarch64/xilinx-zynqmp/include/bsp/i2c.h
 links: []
 source:
 - bsps/shared/dev/i2c/cadence-i2c.c
diff --git a/spec/build/bsps/arm/xilinx-zynq/obj.yml b/spec/build/bsps/arm/xilinx-zynq/obj.yml
index bc675cd..dcac091 100644
--- a/spec/build/bsps/arm/xilinx-zynq/obj.yml
+++ b/spec/build/bsps/arm/xilinx-zynq/obj.yml
@@ -14,10 +14,12 @@ install:
   - bsps/arm/xilinx-zynq/include/tm27.h
 - destination: ${BSP_INCLUDEDIR}/bsp
   source:
-  - bsps/include/dev/i2c/cadence-i2c-regs.h
-  - bsps/include/dev/i2c/cadence-i2c.h
   - bsps/arm/xilinx-zynq/include/bsp/i2c.h
   - bsps/arm/xilinx-zynq/include/bsp/irq.h
+- destination: ${BSP_INCLUDEDIR}/dev/i2c
+  source:
+  - bsps/include/dev/i2c/cadence-i2c-regs.h
+  - bsps/include/dev/i2c/cadence-i2c.h
 links: []
 source:
 - bsps/arm/shared/cache/cache-l2c-310.c



More information about the vc mailing list