TMP_DIR=${BUILD_ROOT}/${PACKAGE}/_abs_out_
SDK_CMD=$SDK_PATH/tools/ide/bin/tizen
LIST="$SDK_CMD list rootstrap "
+BUILD_TYPE=__BUILD_TYPE__
chown -R build:build $SHARE_ROOT
su - build -c "cp $SHARE_ROOT/abs/abs $BUILD_ROOT/"
fi
done
+#FIXME: Check 64 bit rootstraps for mobile profile.
+if [[ $BUILD_TYPE = "SUBMIT" ]] && [[ $PROFILE = "mobile" ]]; then
+ if [[ $rs_list = *"device64"* ]] && [[ $rs_list = *"emulator64"* ]]; then
+ echo "OK. $PROFILE have 64 bit rootstraps"
+ else
+ echo "NOK. $PROFILE does not have 64 bit rootstraps"
+ echo "$PROFILE does not have 64 bit rootstraps" > ${SHARE_ROOT}/build_rootstrap_check.log
+ _clear 9
+ fi
+fi
+
_clear 0
su - build -c "df -hT"