build: Suggest to download supported tinycbor
authorPhilippe Coval <philippe.coval@osg.samsung.com>
Mon, 18 Jul 2016 23:51:09 +0000 (16:51 -0700)
committerPhil Coval <philippe.coval@osg.samsung.com>
Wed, 23 Nov 2016 17:08:30 +0000 (17:08 +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>
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()