Files
hisi_SS524V100_SDK/sdk.unpack
T

30 lines
606 B
Bash

#!/bin/bash
source scripts/common.sh
echo_info "Unpacking SDK" COLOR_YELLOW
echo_warn "Make sure that you have installed the cross compiler!"
echo_warn "ALL THE SOURCE FILES WILL BE OVERWRITTEN, FILES YOU MODIFIED WILL BE LOST !!!"
echo_info ""
#echo_info "To continue, type 'Yes' and then press ENTER ..."
#read choice
#[ x$choice != xYes ] && exit 1
#SDK_CHIP=
#OS_TYPE=
echo_info "OS_TYPE =$OS_TYPE"
echo_info "SDK_CHIP =$SDK_CHIP"
set +e
#echo_info "install cross toolchain"
#./tools/toolchains/cross.install
for tar_file in $(ls package/*.tgz)
do
run_command_progress_tar $tar_file
done