Skip to content
Commit 93eb3497 authored by Vijayenthiran Subramaniam's avatar Vijayenthiran Subramaniam Committed by Thomas Abraham
Browse files

build-scp.sh: fix packaging wrong platform binaries



The do_build() function of build-scp.sh copies the platform binaries
from ${SCP_PATH} build folder into a common output folder. If build scp
is executed for one platform (say PLAT1), and package scp is executed
for another platform (say PLAT2), instead of copying PLAT2's SCP
binaries, the package stage of build-scp.sh would copy PLAT1's binaries,
since there's no separate platform folder in the output folder of
${SCP_PATH}. To fix this, create platform folder within the output
folder of ${SCP_PATH} and copy from output/${plat}/* instead of
output/*. This would ensure that if the package is called for PLAT2, it
would copy PLAT2's binaries instead of binaries of previously build
platform.

Change-Id: I6a68e1cec9972b6dd395b9e109f7a041c15ca43b
Signed-off-by: Vijayenthiran Subramaniam's avatarVijayenthiran Subramaniam <vijayenthiran.subramaniam@arm.com>
parent acb02fce
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment