From 3a91119f6e335b8546981186da6f58a7712ef3b3 Mon Sep 17 00:00:00 2001 From: Youngjae Shin Date: Tue, 16 Aug 2016 14:29:56 +0900 Subject: [PATCH] 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 --- build_common/external_libs.scons | 2 +- resource/provisioning/SConscript | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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') -- 2.7.4