From 61382c1df95115ef595b06e023d59bcca8bad22c Mon Sep 17 00:00:00 2001 From: Philippe Coval Date: Tue, 27 Sep 2016 15:55:29 +0200 Subject: [PATCH] tizen: Disable Bluetooth for Tizen:IVI (capi outdated) Make sure capi-network-bluetooth-devel is shipping bluetooth_internal.h. For instance, 0.1.39 does not have it, while 0.1.52 have it. In that case it will fail to build and report a message like: resource/csdk/connectivity/src/bt_edr_adapter/tizen/\ caedrclient.c:30:32: \ fatal error: bluetooth_internal.h: No such file or directory This need to be checked for other Tizen profiles: Tizen:2.3.1:Wearable, Tizen:2.4:Mobile have it. Bug: https://jira.iotivity.org/browse/IOT-1343 Change-Id: I028f3c4fd8c9526b5d06a55b0f2a5f5c6c113d3d Origin: https://gerrit.iotivity.org/gerrit/#/c/12355/ Signed-off-by: Philippe Coval Reviewed-on: https://gerrit.iotivity.org/gerrit/12355 Tested-by: jenkins-iotivity Reviewed-by: Ziran Sun --- tools/tizen/iotivity.spec | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tools/tizen/iotivity.spec b/tools/tizen/iotivity.spec index 7889ee9..cdbba47 100644 --- a/tools/tizen/iotivity.spec +++ b/tools/tizen/iotivity.spec @@ -9,6 +9,9 @@ Source0: %{name}-%{version}.tar.bz2 Source1001: %{name}.manifest Source1002: %{name}-test.manifest +%if "%{profile}" == "ivi" +%define TARGET_TRANSPORT IP +%endif %if "%{TARGET_OS}" == "linux" %define TARGET_TRANSPORT IP -- 2.7.4