summaryrefslogtreecommitdiff
path: root/packaging
diff options
context:
space:
mode:
authorDoHyun Pyun <dh79.pyun@samsung.com>2016-09-12 14:17:38 +0900
committerDoHyun Pyun <dh79.pyun@samsung.com>2016-09-12 14:17:38 +0900
commite59bdab1646baa6828a6a2bd804657c75d5376c4 (patch)
tree943aab1b706d1128eaec68055df62084d3d871d5 /packaging
parente7067fa6a52a1854c298d9d1d5f6892f5916946c (diff)
downloadbluetooth-e59bdab1646baa6828a6a2bd804657c75d5376c4.tar.gz
bluetooth-e59bdab1646baa6828a6a2bd804657c75d5376c4.tar.bz2
bluetooth-e59bdab1646baa6828a6a2bd804657c75d5376c4.zip
Support hf and pbap_client functionality for IVI
Change-Id: I5a7dc86504f3ebbaa21ce59fa1b6b0bb887d8670 Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
Diffstat (limited to 'packaging')
-rw-r--r--packaging/capi-network-bluetooth.spec11
1 files changed, 11 insertions, 0 deletions
diff --git a/packaging/capi-network-bluetooth.spec b/packaging/capi-network-bluetooth.spec
index b31bfa1..962d3fd 100644
--- a/packaging/capi-network-bluetooth.spec
+++ b/packaging/capi-network-bluetooth.spec
@@ -63,6 +63,12 @@ export CXXFLAGS="$CXXFLAGS -DTIZEN_FEATURE_ENABLE_LEGACY_GATT_CLIENT"
export FFLAGS="$FFLAGS -DTIZEN_FEATURE_ENABLE_LEGACY_GATT_CLIENT"
%endif
+%if "%{?profile}" == "ivi"
+export CFLAGS="$CFLAGS -DTIZEN_PROFILE_IVI"
+export CXXFLAGS="$CXXFLAGS -DTIZEN_PROFILE_IVI"
+export FFLAGS="$FFLAGS -DTIZEN_PROFILE_IVI"
+%endif
+
export CFLAGS="$CFLAGS -DTIZEN_FEATURE_AUDIO_HF_DISABLE -DTIZEN_FEATURE_IPSP_SUPPORT"
export CXXFLAGS="$CXXFLAGS -DTIZEN_FEATURE_AUDIO_HF_DISABLE -DTIZEN_FEATURE_IPSP_SUPPORT"
export FFLAGS="$FFLAGS -DTIZEN_FEATURE_AUDIO_HF_DISABLE -DTIZEN_FEATURE_IPSP_SUPPORT"
@@ -91,6 +97,11 @@ export FFLAGS+=" -DARCH64"
%if "%{?profile}" == "mobile"
-DTIZEN_PROFILE_WEARABLE=NO \
-DTIZEN_PROFILE_MOBILE=YES \
+%else
+%if "%{?profile}" == "ivi"
+ -DTIZEN_PROFILE_WEARABLE=NO \
+ -DTIZEN_PROFILE_IVI=YES \
+%endif
%endif
%endif
%endif