Revision 4df853e0

View differences:

tools/ide/QtCreator/QtCreatorSetup.sh
558 558
  local parse_state="WAIT_FOR_INCLUDE_OR_COMPILE"
559 559
  # capture all output from make and GCC and append the return value of make as last line
560 560
  printInfo "processing project (this may take a while)...\n"
561
  local rawout=$(make --directory ${amiroosrootdir}/modules/${module} --always-make USE_OPT="-v -E -H" OUTFILES="" --jobs="$(nproc --all)" 2>&1 && echo $?)
561
  local rawout=$(make --directory ${amiroosrootdir}/modules/${module} --always-make USE_OPT="-v -E -H" USE_VERBOSE_COMPILE="no" OUTFILES="" --jobs=$(nproc --all) 2>&1 && echo $?)
562 562
  # check whether the make call was successfull
563 563
  if [[ $(echo "${rawout}" | tail -n 1) != "0" ]]; then
564 564
    printError "executing 'make' in module directory failed\n"
565 565
    cd "$userdir"
566 566
    return -3
567
  else
568
    # cleanup
569
    make --directory ${amiroosrootdir}/modules/${module} clean &>/dev/null
567 570
  fi
568 571
  # extract file names from raw output
569 572
  IFS=$'\n'; rawout=($rawout); unset IFS

Also available in: Unified diff