--- /dev/null
+echo "Copying Dependent Libraries to Libs Folder"
+if [ -z ${SBI_SYSROOT+x} ]; then echo "environment variable SBI_SYSROOT is not set ";ROOTSTRAP=$(cat ../../DEFAULT_ROOTSTRAP); echo "using RS :$ROOTSTRAP" ; else echo "SBI_SYSROOT is set to '$SBI_SYSROOT'"; ROOTSTRAP=$(basename "$SBI_SYSROOT");fi;
+PROFILE=$(echo $ROOTSTRAP | rev | cut -d"-" -f2- | rev )
+archPath=aarch64
+if [ "$BUILD_ARCH" != "aarch64" ];
+then
+ archPath=arm
+fi
+echo "Using build Rootstrap :: $ROOTSTRAP"
+echo "Using build Profile :: $PROFILE"
+echo "Using build build arch :: $BUILD_ARCH"
+echo "Using build build config :: $BUILD_CONFIG"
+
+echo "Current PWD : $PROJ_PATH"
+PROJ_ROOT="$(echo $PROJ_PATH|tr '^C' 'c'|tr '\\' '/')"
+echo "Current PWD : $PROJ_ROOT"
+rm -f ${PROJ_ROOT}/libs/*.so
+
+# copy esplusplayer to build
+cp -f ${PROJ_ROOT}/../libs/mm-avplayer/lib/fhub_esplusplayer/$BUILD_CONFIG/6.0-$archPath/libesplusplayer.so ${PROJ_ROOT}/libs
+ls -als ${PROJ_ROOT}/libs
+printenv