WFD_SINK_INI_PROBE_BUFFER_DURATION = (1 << 3),
};
-#define MM_WFD_SINK_INI_DEFAULT_PATH tzplatform_mkpath(TZ_SYS_RO_ETC, "/multimedia/mmfw_wfd_sink.ini")
+#define MM_WFD_SINK_INI_DEFAULT_PATH SYSCONFDIR"/multimedia/mmfw_wfd_sink.ini"
#define WFD_SINK_INI_MAX_STRLEN 256
#define WFD_SINK_INI_MAX_ELEMENT 10
export CFLAGS+=" -Wextra -Wno-array-bounds"
export CFLAGS+=" -Wno-ignored-qualifiers -Wno-unused-parameter -Wshadow"
export CFLAGS+=" -Wwrite-strings -Wswitch-default"
-
+export CFLAGS+=" -DSYSCONFDIR=\\\"%{_sysconfdir}\\\""
./autogen.sh
CFLAGS+=" -DMMFW_DEBUG_MODE -DEXPORT_API=\"__attribute__((visibility(\\\"default\\\")))\" "; export CFLAGS
mkdir -p %{buildroot}/%{_datadir}/license
cp -rf %{_builddir}/%{name}-%{version}/LICENSE.APLv2.0 %{buildroot}%{_datadir}/license/%{name}
-mkdir -p %{buildroot}/%{TZ_SYS_RO_ETC}/multimedia
-cp -rf config/mmfw_wfd_sink.ini %{buildroot}/%{TZ_SYS_RO_ETC}/multimedia/mmfw_wfd_sink.ini
+mkdir -p %{buildroot}%{_sysconfdir}/multimedia
+cp -rf config/mmfw_wfd_sink.ini %{buildroot}%{_sysconfdir}/multimedia/mmfw_wfd_sink.ini
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root,-)
%{_datadir}/license/%{name}
-%{TZ_SYS_RO_ETC}/multimedia/mmfw_wfd_sink.ini
+%{_sysconfdir}/multimedia/mmfw_wfd_sink.ini
%{_libdir}/*.so.*
%manifest libmm-wfd.manifest