Change-Id: I113814cd46c1249e93594d110d135da3b451d6ec
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
mkdir -p le
-%make_install
+#%make_install
cp -a %{buildroot}%{_libexecdir}/bluetooth/bluetoothd le/
# For BREDR only
+make distclean
+
+autoreconf -fiv
export LDFLAGS=" -lncurses -Wl,--as-needed "
export CFLAGS+=" -DTIZEN_FEATURE_BLUEZ_MODIFY -DTIZEN_FEATURE_BLUEZ_PBAP_SIM -DTIZEN_FEATURE_BLUEZ_AVRCP_TARGET"
mkdir -p bredr
-%make_install
+#%make_install
cp -a %{buildroot}%{_libexecdir}/bluetooth/bluetoothd bredr/
# For BREDR + LE
+autoreconf -fiv
+
+make distclean
export LDFLAGS=" -lncurses -Wl,--as-needed "
export CFLAGS+=" -DTIZEN_FEATURE_BLUEZ_MODIFY -DTIZEN_FEATURE_BLUEZ_PBAP_SIM -DTIZEN_FEATURE_BLUEZ_AVRCP_TARGET"
for FILE in bluetoothd; do mv "$FILE" "%{buildroot}%{_libexecdir}/bluetooth/$FILE.le"; done
popd
-
# bluez-test
rm -rvf $RPM_BUILD_ROOT/%{_libdir}/gstreamer-*
#install --mode=0755 -D %{S:4} $RPM_BUILD_ROOT/usr/lib/udev/bluetooth.sh