arm/scp-firmware: Add support for components other than SCP, MCP
PATCH 1/1 arm/scp-firmware: Add support for components other than SCP, MCP
From: Peter Hoyes <[email protected]>
SCP-firmware may build components other than the SCP and MCP. Make the MCP branch of the do_install task more generic to suport this.
Signed-off-by Peter Hoyes <[email protected]>
--- .../recipes-bsp/scp-firmware/scp-firmware_2.11.0.bb | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-)
meta-arm/recipes-bsp/scp-firmware/scp-firmware_2.11.0.bb +6 -6
@@ -78,17 +78,17 @@ do_install() { if [ "$FW" = "scp" ]; then install -D "${B}/${TYPE}/${FW}/bin/${SCP_PLATFORM}-bl1.bin" "${D}/firmware/${FW}_${TYPE}.bin" install -D "${B}/${TYPE}/${FW}/bin/${SCP_PLATFORM}-bl1.elf" "${D}/firmware/${FW}_${TYPE}.elf" - elif [ "$FW" = "mcp" ]; then - install -D "${B}/${TYPE}/${FW}/bin/${SCP_PLATFORM}-mcp-bl1.bin" "${D}/firmware/${FW}_${TYPE}.bin" - install -D "${B}/${TYPE}/${FW}/bin/${SCP_PLATFORM}-mcp-bl1.elf" "${D}/firmware/${FW}_${TYPE}.elf" + else + install -D "${B}/${TYPE}/${FW}/bin/${SCP_PLATFORM}-${FW}-bl1.bin" "${D}/firmware/${FW}_${TYPE}.bin" + install -D "${B}/${TYPE}/${FW}/bin/${SCP_PLATFORM}-${FW}-bl1.elf" "${D}/firmware/${FW}_${TYPE}.elf" fi elif [ "$TYPE" = "ramfw" ]; then if [ "$FW" = "scp" ]; then install -D "${B}/${TYPE}/${FW}/bin/${SCP_PLATFORM}-bl2.bin" "${D}/firmware/${FW}_${TYPE}.bin" install -D "${B}/${TYPE}/${FW}/bin/${SCP_PLATFORM}-bl2.elf" "${D}/firmware/${FW}_${TYPE}.elf" - elif [ "$FW" = "mcp" ]; then - install -D "${B}/${TYPE}/${FW}/bin/${SCP_PLATFORM}-mcp-bl2.bin" "${D}/firmware/${FW}_${TYPE}.bin" - install -D "${B}/${TYPE}/${FW}/bin/${SCP_PLATFORM}-mcp-bl2.elf" "${D}/firmware/${FW}_${TYPE}.elf" + else + install -D "${B}/${TYPE}/${FW}/bin/${SCP_PLATFORM}-${FW}-bl2.bin" "${D}/firmware/${FW}_${TYPE}.bin" + install -D "${B}/${TYPE}/${FW}/bin/${SCP_PLATFORM}-${FW}-bl2.elf" "${D}/firmware/${FW}_${TYPE}.elf" fi fi done
Signature · 1 line
2.34.1
Jon Mason
AppliedQuoted 2 lines · Peter Hoyes
SCP-firmware may build components other than the SCP and MCP. Make the MCP branch of the
do_installtask more generic to suport this.
Applied, thanks!
[1/1] arm/scp-firmware: Add support for components other than SCP, MCP
commit: 0b528b731aef8acb4bd67664d2c31315151e798d
Best regards,
Signature · 1 line
Jon Mason <[email protected]>