diff --git a/util.sh b/util.sh index 294339da0e2cebb86deda93ce151ed9d75459656..30c88e1fb7c055b5c8ecb4ce6f74fcfa0c740a71 100644 --- a/util.sh +++ b/util.sh @@ -73,6 +73,14 @@ function check_bsp_version() { function init_libs() { check_bsp_version "$1" + # init build dependency enviroment + echo "Initializing Construction dependency environment..." + # Install software dependencies with error-only output + echo "Initializing software dependencies..." + sudo apt install -y git make build-essential libncurses5-dev \ + libncursesw5-dev flex bison gcc-aarch64-linux-gnu libelf-dev \ + qemu-system-arm qemu-efi qemu jq device-tree-compiler \ + 2>&1 | grep -i "error\|fail" # init tenon echo "Initializing build context, please wait several minutes.." echo "Initializing tenon..."