To use on x86_64:
gbsarch=x86_64 gbsprofile=tizen_4_0_unified_x86_64 ./gbsbuild.sh
Other arch might come later, if needed.
x86_64 was preferred, because that way,
we could run units tests on build hosts (TBC).
Change-Id: Ie827470e85b5eeacdcc3c35a1e596768f74e1e58
Bug: https://jira.iotivity.org/browse/IOT-2397
Signed-off-by: Philippe Coval <philippe.coval@osg.samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/20667
Tested-by: jenkins-iotivity <jenkins@iotivity.org>
Reviewed-by: Mats Wichmann <mats@linux.com>
Reviewed-by: C.J. Collier <cjcollier@linuxfoundation.org>
(cherry picked from commit
71e39d052c37c6fbc85deedb041ff32bf3db417d)
Reviewed-on: https://gerrit.iotivity.org/gerrit/20785
Reviewed-by: Youngman Jung <yman.jung@samsung.com>
cd $sourcedir/tmp
secured=1
-gbscommand="gbs build -A armv7l "
+gbsarch=${gbsarch:=armv7l}
+gbsprofile=${gbsprofile:=profile.tizen}
+gbscommand="gbs build -A ${gbsarch} -P ${gbsprofile}"
nproc=$(expr 1 + $(expr `nproc --ignore=1` / 2 ) )
gbscommand=$gbscommand" --define '_smp_mflags -j$nproc'"
[repo.devel-gcc49-base]
url = http://download.tizen.org/releases/2.4/2.4-base/tizen-2.4-base_20151027.1/repos/standard/packages/
+
+#{ Tizen:4.0:Unified
+[profile.tizen_4_0_unified_x86_64]
+repos=repo.tizen_4_0_base_x86_64, repo.tizen_4_0_unified_x86_64
+buildroot=~/tmp/gbs/tmp-GBS-tizen_4_0_unified_x86_64
+
+[repo.tizen_4_0_unified_x86_64]
+url=http://download.tizen.org/releases/milestone/tizen/4.0.m1/tizen-unified_20170529.1/repos/standard/packages/
+
+[repo.tizen_4_0_base_x86_64]
+url=http://download.tizen.org/releases/milestone/tizen/4.0.m1/tizen-base_20170520.1/repos/x86_64/packages/
+#} Tizen:4.0:Unified