[Linaro-uefi,2/5] opteed-build.sh: Remove copy of images to UEFI dir

Message ID 20180319064244.24344-3-victor.chong@linaro.org
State New
Headers show
Series
  • Add support for ATF BL32_EXTRA1 and BL32_EXTRA2
Related show

Commit Message

Victor Chong March 19, 2018, 6:42 a.m.
The copy was originally mirrored after atf-build.sh but in restrospect
TOS_BIN doesn't really have to be copied since it's already embedded in
fip.bin and not directly required for programming the platform.

Signed-off-by: Victor Chong <victor.chong@linaro.org>
---
 opteed-build.sh | 4 ----
 1 file changed, 4 deletions(-)

Patch

diff --git a/opteed-build.sh b/opteed-build.sh
index 4de48d3..be16913 100755
--- a/opteed-build.sh
+++ b/opteed-build.sh
@@ -103,10 +103,6 @@  function build_platform
 		# Copy resulting images to UEFI image dir
 		#
 		TOS_BIN="`$TOOLS_DIR/parse-platforms.py $PLATFORM_CONFIG -p $1 get -o tos_bin`"
-		if [ $VERBOSE -eq 1 ]; then
-			echo "Copying '$TOS_BIN' to '$EDK2_DIR/Build/$PLATFORM_IMAGE_DIR/$BUILD_PROFILE/FV/'"
-		fi
-		cp -a out/arm-plat-"$TOS_PLATFORM"/core/"$TOS_BIN" "$EDK2_DIR/Build/$PLATFORM_IMAGE_DIR/$BUILD_PROFILE/FV/"
 	else
 		return 1
 	fi