diff --git a/cmake_targets/build_oai b/cmake_targets/build_oai index 84d14254b2..f8517f7b3a 100755 --- a/cmake_targets/build_oai +++ b/cmake_targets/build_oai @@ -665,7 +665,7 @@ function main() { compilations nas_sim_tools conf2uedata # generate USIM data - if [ -f $dbin/conf2uedata ]; then + if [ -f conf2uedata ]; then install_nas_tools $conf_nvram_path $DIR/$BUILD_DIR/build "$DIR/$BUILD_DIR/build/conf2uedata.txt" else echo_warning "not generated UE NAS files: binaries not found" diff --git a/cmake_targets/tools/build_helper b/cmake_targets/tools/build_helper index 37cc3da0c5..6e702eee30 100755 --- a/cmake_targets/tools/build_helper +++ b/cmake_targets/tools/build_helper @@ -230,8 +230,10 @@ compilations() { cat $dlog/$2.txt echo_info "====== End of log for $2.txt ======" fi - if [[ $ret -ne 0 ]]; then - check_warnings "$dlog/$2.txt" + check_warnings "$dlog/$2.txt" + if [[ $ret -eq 0 ]]; then + echo_success "$2 compiled" + else check_errors "$dlog/$2.txt" echo_error "$2 compilation failed" exit 1