diff options
author | DoHyun Pyun <dh79.pyun@samsung.com> | 2016-11-02 11:14:45 +0900 |
---|---|---|
committer | DoHyun Pyun <dh79.pyun@samsung.com> | 2016-11-02 11:14:45 +0900 |
commit | 9caee8b3e31197ea80bfb0246e158691410b7849 (patch) | |
tree | 480fe3d4b5dba1bd0135d0b84ec0ab8eed36d19b | |
parent | 946c45b0094a4e779e7642491bd93993f3f5399e (diff) | |
download | bluez-9caee8b3e31197ea80bfb0246e158691410b7849.tar.gz bluez-9caee8b3e31197ea80bfb0246e158691410b7849.tar.bz2 bluez-9caee8b3e31197ea80bfb0246e158691410b7849.zip |
Support the bcm43xx firmware download using the hciattach toolsubmit/tizen_3.0/20161102.022329accepted/tizen/3.0/wearable/20161103.002123accepted/tizen/3.0/tv/20161103.002107accepted/tizen/3.0/mobile/20161103.002050accepted/tizen/3.0/ivi/20161103.002137
Change-Id: I25f23970c8af078d8869bbab415f03286e3529d4
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
-rw-r--r-- | packaging/bluez.spec | 2 | ||||
-rw-r--r-- | tools/hciattach_bcm43xx.c | 4 |
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" |