From 9d24233430bac1494533ba2bca8280c430bf5e7c Mon Sep 17 00:00:00 2001 From: Robert Schmidt Date: Fri, 7 Oct 2022 10:28:24 +0200 Subject: [PATCH] Create 4G UE SIM info in build dir, restore old build success message --- cmake_targets/build_oai | 2 +- cmake_targets/tools/build_helper | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) 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