summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDoHyun Pyun <dh79.pyun@samsung.com>2016-11-02 11:14:45 +0900
committerDoHyun Pyun <dh79.pyun@samsung.com>2016-11-02 11:14:45 +0900
commit9caee8b3e31197ea80bfb0246e158691410b7849 (patch)
tree480fe3d4b5dba1bd0135d0b84ec0ab8eed36d19b
parent946c45b0094a4e779e7642491bd93993f3f5399e (diff)
downloadbluez-9caee8b3e31197ea80bfb0246e158691410b7849.tar.gz
bluez-9caee8b3e31197ea80bfb0246e158691410b7849.tar.bz2
bluez-9caee8b3e31197ea80bfb0246e158691410b7849.zip
Change-Id: I25f23970c8af078d8869bbab415f03286e3529d4 Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
-rw-r--r--packaging/bluez.spec2
-rw-r--r--tools/hciattach_bcm43xx.c4
2 files changed, 5 insertions, 1 deletions
diff --git a/packaging/bluez.spec b/packaging/bluez.spec
index 38807c18..19cd218d 100644
--- a/packaging/bluez.spec
+++ b/packaging/bluez.spec
@@ -94,7 +94,7 @@ cp %{SOURCE1001} .
%build
autoreconf -fiv
-%if "%{?tizen_target_name}" == "TM1"
+%if "%{?tizen_target_name}" == "TM1" || "%{?profile}" == "ivi"
export CFLAGS="${CFLAGS} -D__TIZEN_PATCH__ -DBLUEZ5_27_GATT_CLIENT"
%else
export CFLAGS="${CFLAGS} -D__TIZEN_PATCH__ -D__BROADCOM_PATCH__ -DBLUEZ5_27_GATT_CLIENT"
diff --git a/tools/hciattach_bcm43xx.c b/tools/hciattach_bcm43xx.c
index 81f38cbb..b876d872 100644
--- a/tools/hciattach_bcm43xx.c
+++ b/tools/hciattach_bcm43xx.c
@@ -43,8 +43,12 @@
#include "hciattach.h"
#ifndef FIRMWARE_DIR
+#ifdef __TIZEN_PATCH__
+#define FIRMWARE_DIR "/usr/etc/bluetooth"
+#else
#define FIRMWARE_DIR "/etc/firmware"
#endif
+#endif
#define FW_EXT ".hcd"