revise build scripts for tizen
authorYoungjae Shin <yj99.shin@samsung.com>
Tue, 16 Aug 2016 05:29:56 +0000 (14:29 +0900)
committerAshok Babu Channa <ashok.channa@samsung.com>
Wed, 17 Aug 2016 06:44:15 +0000 (06:44 +0000)
  1. remove the build of SQLite because tizen has already been the
  SQLite library.
  2. include provision example on the build of Tizen

Change-Id: I51bf970a84e5402eab835310ef5f9c0bb76e8f21
Signed-off-by: Youngjae Shin <yj99.shin@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/10489
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Jaehong Jo <jaehong.jo@samsung.com>
Reviewed-by: MyeongGi Jeong <myeong.jeong@samsung.com>
Reviewed-by: Hun-je Yeon <hunje.yeon@samsung.com>
Reviewed-by: Ashok Babu Channa <ashok.channa@samsung.com>
build_common/external_libs.scons
resource/provisioning/SConscript

index f1e8295..06d3e0f 100644 (file)
@@ -140,5 +140,5 @@ env.AddMethod(__download, "Download")
 env.AddMethod(__install_head_file, "InstallHeadFile")
 env.AddMethod(__install_lib, "InstallLib")
 
-if env.get('SECURED') == '1':
+if env.get('SECURED') == '1' and target_os != 'tizen':
        SConscript(os.path.join(env.get('SRC_DIR'), 'extlibs', 'sqlite3', 'SConscript'))
index a343e79..a6f7d31 100644 (file)
@@ -67,5 +67,5 @@ ocprovision = ocprovision_env.SharedLibrary('ocprovision', ocprovision_src)
 ocprovision_env.InstallTarget(ocprovision, 'libocprovision')
 ocprovision_env.UserInstallTargetLib(ocprovision, 'libocprovision')
 
-if target_os in ['linux']:
+if target_os in ['linux', 'tizen']:
     SConscript('examples/SConscript')