File tree Expand file tree Collapse file tree 9 files changed +110
-90
lines changed
Expand file tree Collapse file tree 9 files changed +110
-90
lines changed Original file line number Diff line number Diff line change @@ -1373,6 +1373,10 @@ function _b_compile_single() {
13731373 BCK2_SRCES+=" \" $file \" ,"
13741374 fi
13751375 return
1376+ else
1377+ if [[ $file == * " .h" ]] || [[ $file == * " .hh" ]] || [[ $file == * " .hpp" ]]; then
1378+ return
1379+ fi
13761380 fi
13771381
13781382 count=$(( count+ 1 ))
@@ -2414,6 +2418,12 @@ function start() {
24142418
24152419 if [[ " $( type -t do_start) " == ' function' ]]; then
24162420 do_start
2421+ if [ " $BUILD_SYS " = " emb" ]; then
2422+ err_cnt_=$( cat $cmds_log_file | grep " error: " | wc -l)
2423+ if [ ! -z " $err_cnt_ " ] && [ " $err_cnt_ " -ne 0 ]; then
2424+ echo " Build failed, please check the log file for details .... $cmds_log_file "
2425+ fi
2426+ fi
24172427 else
24182428 echo " Please provide a valid shellb script with a do_start function implementation"
24192429 fi
Original file line number Diff line number Diff line change @@ -1373,6 +1373,10 @@ function _b_compile_single() {
13731373 BCK2_SRCES+=" \" $file \" ,"
13741374 fi
13751375 return
1376+ else
1377+ if [[ $file == * " .h" ]] || [[ $file == * " .hh" ]] || [[ $file == * " .hpp" ]]; then
1378+ return
1379+ fi
13761380 fi
13771381
13781382 count=$(( count+ 1 ))
@@ -2414,6 +2418,12 @@ function start() {
24142418
24152419 if [[ " $( type -t do_start) " == ' function' ]]; then
24162420 do_start
2421+ if [ " $BUILD_SYS " = " emb" ]; then
2422+ err_cnt_=$( cat $cmds_log_file | grep " error: " | wc -l)
2423+ if [ ! -z " $err_cnt_ " ] && [ " $err_cnt_ " -ne 0 ]; then
2424+ echo " Build failed, please check the log file for details .... $cmds_log_file "
2425+ fi
2426+ fi
24172427 else
24182428 echo " Please provide a valid shellb script with a do_start function implementation"
24192429 fi
You can’t perform that action at this time.
0 commit comments