Commit a51d1dc4 authored by claes's avatar claes

wb_gcg.sh fix

parent 84985b6f
...@@ -382,6 +382,11 @@ elif [ $OpSys -eq $OpSys_X86_LINUX ]; then ...@@ -382,6 +382,11 @@ elif [ $OpSys -eq $OpSys_X86_LINUX ]; then
FileTypeStr="`echo $vFileType| cut -f $FileTypeIdx -d ,`" FileTypeStr="`echo $vFileType| cut -f $FileTypeIdx -d ,`"
if [ ! -e $pwr_lib/libpwr_rt.a ]; then
echo "-- Not built for x86_linux"
exit 0;
fi
# Execute build command # Execute build command
Compile$FileTypeStr Compile$FileTypeStr
exit $gcg_status exit $gcg_status
...@@ -413,6 +418,11 @@ elif [ $OpSys -eq $OpSys_X86_64_LINUX ]; then ...@@ -413,6 +418,11 @@ elif [ $OpSys -eq $OpSys_X86_64_LINUX ]; then
FileTypeStr="`echo $vFileType| cut -f $FileTypeIdx -d ,`" FileTypeStr="`echo $vFileType| cut -f $FileTypeIdx -d ,`"
if [ ! -e $pwr_lib/libpwr_rt.a ]; then
echo "-- Not built for x86_64_linux"
exit 0;
fi
# Execute build command # Execute build command
Compile$FileTypeStr Compile$FileTypeStr
exit $gcg_status exit $gcg_status
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment