# Inject tidlc path
TIDLC_PATH=`sed -n '/tidl/p' /home/build/.bashrc | cut -f2 -d':'`
if [ ! -z ${TIDLC_PATH} ]; then echo "PATH=\$PATH:${TIDLC_PATH}" >> /home/build/.profile; fi
+su - build -c "tidlc --version"
for rs in $rs_list; do
echo "BUILDING START TIME: `date`"
#if [[ $rs == *"64.core"* ]]; then
# echo "SKIP! 64-bit not supported!"; continue;
#else
- su - build -c "${ABS_CMD} build -r $rs -w ${BUILD_ROOT}/${PACKAGE} -s ABS -c ${BUILD_MODE} ${PARALLEL_JOBS} --profile-to-search ${PROFILE}"
+
+ su - build -c "${ABS_CMD} build -r $rs -w ${BUILD_ROOT}/${PACKAGE} -s ABS -c ${BUILD_MODE} ${PARALLEL_JOBS} --profile-to-search ${PROFILE}"
+ build_result=$?
+ echo "BUILD RET: ${build_result}"
#fi
count=`ls -1 ${TMP_DIR}/*.tpk 2>/dev/null | wc -l`
if [ $count != 0 ]; then
fi
ret=$?; echo "BUILDING FINISH TIME: `date`"
if [ $ret != 0 ]; then
- echo $rs build fail; _clear 8
+ echo $rs build fail; _clear $build_result
fi
done
+echo "OUTPUT CONTENTS..."
+ls -al ${SHARE_ROOT}
+
#FIXME: Check 64 bit rootstraps for mobile profile.
#if [[ $BUILD_TYPE = "SUBMIT" ]] && [[ $PROFILE = "mobile" ]]; then
# if [[ $rs_list = *"device64"* ]] && [[ $rs_list = *"emulator64"* ]]; then