Temporary block other than arm build for Fhub project
[scm/meta/abs.git] / build.template
index 98fdf69..fcff558 100644 (file)
@@ -49,6 +49,10 @@ done
 echo $tizen_studio_distribution >> $SHARE_ROOT/tizen_studio_distribution
 
 rs_list=`su - build -c "tizen list rootstrap | grep ${PROFILE}-.*.core.private.* | cut -d ' ' -f 1"`
+#FIXME: remove hard-coded expression
+if [ "${PROFILE}" = "da-hfp" ]; then
+  rs_list=`su - build -c "tizen list rootstrap | grep ${PROFILE}-.*device.core.private.* | cut -d ' ' -f 1"`
+fi
 echo $rs_list >> $SHARE_ROOT/rsver
 
 for rs in $rs_list; do
@@ -56,7 +60,7 @@ for rs in $rs_list; do
   #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}"
+    su - build -c "${ABS_CMD} build -r $rs -w ${BUILD_ROOT}/${PACKAGE} -s ABS -c ${BUILD_MODE} ${PARALLEL_JOBS} --profile-to-search ${PROFILE}"
   #fi
   mv ${TMP_DIR}/*.tpk ${SHARE_ROOT}
   ret=$?; echo "BUILDING FINISH TIME: `date`"