mbedtls: remove Tizen specific case 57/17857/2
authorPhilippe Coval <philippe.coval@osg.samsung.com>
Wed, 8 Mar 2017 10:40:38 +0000 (11:40 +0100)
committerAshok Babu Channa <ashok.channa@samsung.com>
Tue, 21 Mar 2017 06:38:15 +0000 (06:38 +0000)
Bug: https://jira.iotivity.org/browse/IOT-1745
Change-Id: I74ab383626672ec37287514b37826b23135b2f64
Signed-off-by: Philippe Coval <philippe.coval@osg.samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/17857
Tested-by: jenkins-iotivity <jenkins@iotivity.org>
Reviewed-by: Mats Wichmann <mats@linux.com>
Reviewed-by: Ashok Babu Channa <ashok.channa@samsung.com>
extlibs/mbedtls/SConscript

index cc58b24..e53a78b 100644 (file)
@@ -49,7 +49,7 @@ os.chdir(mbedtls_dir)
 # the mbedtls_revision tag selected is the same as in extlibs/mbedtls/prep.sh.
 # This code also assumes mbedtls_revision is a tag; if it changes to
 # a branch or an arbitrary commit, disable this check below.
-if target_os != 'tizen':
+if os.path.exists('.git/HEAD'):
     out = subprocess.check_output('git tag -l ' + mbedtls_revision, shell = True)
     if mbedtls_revision not in out:
         print out