Skip to contentSkip to conversation

arm/scp-firmware: Fix build location

PATCH In review Usama Arif 2 participants 2 messages Aug 27, 2020 – Aug 31, 2020

lore
Share & tools
lore

Usama Arif

author
#0 lore raw

PATCH 1/1 arm/scp-firmware: Fix build location

The build location is dependent on whether
debug or release version of scp is being built.

Change-Id I22e0777c316ea59a49a6f178d620a59d24372e00
---
 meta-arm/recipes-bsp/scp-firmware/scp-firmware_2.6.0.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-arm/recipes-bsp/scp-firmware/scp-firmware_2.6.0.bb +1 -1
index 47b09aa..4de0912 100644
@@ -58,7 +58,7 @@ do_install() {
      install -d ${D}/firmware
      for FW in ${FW_TARGETS}; do
         for TYPE in ${FW_INSTALL}; do
-           install -D "${B}/product/${SCP_PLATFORM}/${FW}_${TYPE}/release/bin/${FW}_${TYPE}.bin" "${D}/firmware/"
+           install -D "${B}/product/${SCP_PLATFORM}/${FW}_${TYPE}/${SCP_BUILD_STR}/bin/${FW}_${TYPE}.bin" "${D}/firmware/"
         done
      done
 }
Signature · 1 line
2.17.1
#1 lore raw
Quoted 5 lines · Usama Arif

The build location is dependent on whether
debug or release version of scp is being built.

Change-Id I22e0777c316ea59a49a6f178d620a59d24372e00

Pulled into master.

Thanks,
Jon

Quoted 22 lines
---
 meta-arm/recipes-bsp/scp-firmware/scp-firmware_2.6.0.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-arm/recipes-bsp/scp-firmware/scp-firmware_2.6.0.bb +1 -1
index 47b09aa..4de0912 100644
@@ -58,7 +58,7 @@ do_install() {
      install -d ${D}/firmware
      for FW in ${FW_TARGETS}; do
         for TYPE in ${FW_INSTALL}; do
-           install -D "${B}/product/${SCP_PLATFORM}/${FW}_${TYPE}/release/bin/${FW}_${TYPE}.bin" "${D}/firmware/"
+           install -D "${B}/product/${SCP_PLATFORM}/${FW}_${TYPE}/${SCP_BUILD_STR}/bin/${FW}_${TYPE}.bin" "${D}/firmware/"
         done
      done
 }
Signature · 1 line
2.17.1