Skip to contentSkip to conversation

arm-bsp/scp-firmware: Migrate SCP firmware recipes from Makefile to Cmake

PATCH Applied Rupinderjit Singh 2 participants 2 messages Jun 20, 2022 – Jun 21, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm-bsp/scp-firmware: Migrate SCP firmware recipes from Makefile to Cmake

---
 .../scp-firmware/scp-firmware-juno.inc        |  9 +++
 .../scp-firmware/scp-firmware_2.10.0.bb       | 64 +++++++++++++------
 2 files changed, 53 insertions(+), 20 deletions(-)
meta-arm-bsp/recipes-bsp/scp-firmware/scp-firmware-juno.inc +9 -0
index a72cbd93..ea2faceb 100644
@@ -5,3 +5,12 @@ COMPATIBLE_MACHINE = "juno"
 SCP_PLATFORM = "juno"
 FW_TARGETS = "scp"
 FW_INSTALL:append = " romfw_bypass"
+
+do_install:append() {
+    for TYPE in ${FW_INSTALL}; do
+        if [ "$TYPE" = "romfw_bypass" ]; then
+            install -D "${B}/${TYPE}/${FW_TARGETS}/bin/${SCP_PLATFORM}-bl1-bypass.bin" "${D}/firmware/${FW}_${TYPE}.bin"
+            install -D "${B}/${TYPE}/${FW_TARGETS}/bin/${SCP_PLATFORM}-bl1-bypass" "${D}/firmware/${FW}_${TYPE}.elf"
+        fi
+    done
+}
meta-arm/recipes-bsp/scp-firmware/scp-firmware_2.10.0.bb +44 -20

90 lines not on this page · raw message

Signature · 1 line
2.25.1
Applied
#1 lore raw
Quoted 1 line · Rupinderjit Singh

Applied, thanks!

[1/1] arm-bsp/scp-firmware: Migrate SCP firmware recipes from Makefile to Cmake

      commit: 5cb7b14e03db6567ecccb9462e8b3e35847809f3

Best regards,

Signature · 1 line
Jon Mason <[email protected]>