message: scripts: dragonboard: setup.sh: remove -j options as it makes the dragonboard freeze
diff: @@ -17,8 +17,6 @@ print_help() {
  echo " Specify the directory where the dependencies will be downloaded."
  echo "-i|--depsinstalldir"
  echo " Specify the directory where the dependencies will be installed."
  - echo "-j|--jobs"
  - echo " Specify the number of jobs to run in parallel when building dependencies and the SDK"
  echo ""
  }
  @@ -42,7 +40,7 @@ yes_or_exit() {
  }
  setup() {
  - NUM_JOBS=$(nproc --all)
  + NUM_JOBS=1
  while [[ $# -gt 0 ]]
  do
  @@ -71,11 +69,6 @@ setup() {
  shift # past argument
  shift # past value
  ;;
  - -j|--jobs)
  - NUM_JOBS=$2
  - shift # past argument
  - shift # past value
  - ;;
  *) # unknown option
  POSITIONAL+=("$1") # save it in an array for later
  shift # past argument
  @@ -132,7 +125,7 @@ setup() {
  pushd "${build_dir}"
  cmake "${source_dir}" "${CMAKE_OPTIONS}" -DCMAKE_PREFIX_PATH="${deps_install_dir}/glog;${deps_install_dir}/protobuf;${deps_install_dir}/websockets;${deps_install_dir}/opencv-${OPENCV}"
  - make -j ${NUM_JOBS}
  + make
  }
  