Series pushed as 632d0c3..b373918.
On Thu, Mar 29, 2018 at 03:26:16AM +0100, Victor Chong wrote:
atf-build.sh expects TOS binaries to be available in the UEFI image dir so copy them there.
Fixes: 0c485dab ("opteed-build.sh: Remove copy of images to UEFI dir") Signed-off-by: Victor Chong victor.chong@linaro.org
opteed-build.sh | 13 +++++++++++++ 1 file changed, 13 insertions(+)
diff --git a/opteed-build.sh b/opteed-build.sh index 40fb844..6840484 100755 --- a/opteed-build.sh +++ b/opteed-build.sh @@ -105,6 +105,19 @@ function build_platform TOS_BIN="`$TOOLS_DIR/parse-platforms.py $PLATFORM_CONFIG -p $1 get -o tos_bin`" TOS_BIN_EXTRA1="`$TOOLS_DIR/parse-platforms.py $PLATFORM_CONFIG -p $1 get -o tos_bin_extra1`" TOS_BIN_EXTRA2="`$TOOLS_DIR/parse-platforms.py $PLATFORM_CONFIG -p $1 get -o tos_bin_extra2`"
DESTDIR="$EDK2_DIR/Build/$PLATFORM_IMAGE_DIR/$BUILD_PROFILE/FV/"
COREDIR="out/$TOS_ARCH-plat-$TOS_PLATFORM/core"
if [ $VERBOSE -eq 1 ]; then
echo "Copying TOS binaries to '$DESTDIR'"
CPFLAGS="-v"
else
CPFLAGS=""
fi
for file in $COREDIR/{"$TOS_BIN","$TOS_BIN_EXTRA1","$TOS_BIN_EXTRA2"}; do
if [ -f "$file" ]; then
cp -a $CPFLAGS $file "$DESTDIR"
fi
else return 1 fidone
-- 2.16.2