From: Youngjae Shin Date: Tue, 16 Aug 2016 05:29:56 +0000 (+0900) Subject: revise build scripts for tizen X-Git-Tag: 1.2.0+RC1~113 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3a91119f6e335b8546981186da6f58a7712ef3b3;p=platform%2Fupstream%2Fiotivity.git revise build scripts for tizen 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 Reviewed-on: https://gerrit.iotivity.org/gerrit/10489 Tested-by: jenkins-iotivity Reviewed-by: Jaehong Jo Reviewed-by: MyeongGi Jeong Reviewed-by: Hun-je Yeon Reviewed-by: Ashok Babu Channa --- diff --git a/build_common/external_libs.scons b/build_common/external_libs.scons index f1e8295..06d3e0f 100644 --- a/build_common/external_libs.scons +++ b/build_common/external_libs.scons @@ -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')) diff --git a/resource/provisioning/SConscript b/resource/provisioning/SConscript index a343e79..a6f7d31 100644 --- a/resource/provisioning/SConscript +++ b/resource/provisioning/SConscript @@ -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')