build: Suggest to download supported tinycbor
authorPhilippe Coval <philippe.coval@osg.samsung.com>
Mon, 18 Jul 2016 23:51:09 +0000 (16:51 -0700)
committerDan Mihai <Daniel.Mihai@microsoft.com>
Wed, 18 Jan 2017 18:20:28 +0000 (18:20 +0000)
Note this patch is appropriate for frozen versions
 while master or development branches can follow tinycbor master
 and eventually synched when needed.

Change-Id: Ic764a3aa7231982d24fcdd17d661425500000000
Bug: https://lists.iotivity.org/pipermail/iotivity-dev/2016-November/006160.html
Origin: https://gerrit.iotivity.org/gerrit/9565
Signed-off-by: Philippe Coval <philippe.coval@osg.samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/14659
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Habib Virji <habib.virji@samsung.com>
Reviewed-by: Gregg Reynolds <dev@mobileink.com>
Reviewed-by: Nivedita Singhvi <niveditasinghvi@gmail.com>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
(cherry picked from commit 10c287fa62763927619d5fb0a20c8a43f2e41e62)
Reviewed-on: https://gerrit.iotivity.org/gerrit/15355
Tested-by: jenkins-iotivity <jenkins@iotivity.org>
Reviewed-by: George Nash <george.nash@intel.com>
Reviewed-by: Dave Thaler <dthaler@microsoft.com>
Reviewed-by: Mats Wichmann <mats@linux.com>
Reviewed-by: Dan Mihai <Daniel.Mihai@microsoft.com>
extlibs/tinycbor/SConscript

index 3be061e..092a46b 100644 (file)
@@ -33,9 +33,9 @@ if not os.path.exists(cborDir):
     print '''
 *********************************** Error: ****************************************
 * Please download cbor using the following command:                               *
-*     $ git clone https://github.com/01org/tinycbor.git extlibs/tinycbor/tinycbor *
+*   $ git clone https://github.com/01org/tinycbor.git extlibs/tinycbor/tinycbor -b %s *
 ***********************************************************************************
-'''
+''' % cborRevision
     Exit(1)
 
 start_dir = os.getcwd()