want to get meaningful backtraces see
https://wiki.openwrt.org/doc/devel/debugging for starting points.
+config FS_STABLE_WITH_FREETYPE
+ bool "Compile with FreeType support"
+ default n
+ help
+ Add FreeType support to FreeSWITCH
+
config FS_STABLE_WITH_LIBEDIT
bool "Compile with libedit support"
default y
with FreeSWITCH (without it it doesn't feel very interactive at all),
but it adds additional dependencies (libedit, libncursesw, terminfo).
+config FS_STABLE_WITH_LIBYUV
+ bool "Compile with libyuv support"
+ default n
+ help
+ Add libyuv support to FreeSWITCH
+
config FS_STABLE_WITH_ODBC
bool "Compile with ODBC support"
default n
help
Enable PostgreSQL support.
+config FS_STABLE_WITH_PNG
+ bool "Compile with PNG support"
+ default n
+ help
+ Add PNG support to FreeSWITCH
+
config FS_STABLE_WITH_SRTP
bool "Enable SRTP"
default y
help
Compile with SRTP support.
+config FS_STABLE_WITH_VPX
+ bool "Compile with VPx support"
+ default n
+ help
+ Compile with VPx video codec support
+
config FS_STABLE_WITH_ZRTP
bool "Enable ZRTP"
default n
FS_STABLE_DEPS:= \
$(FS_STABLE_DEPS_BASE) \
+ +FS_STABLE_WITH_FREETYPE:libfreetype \
+FS_STABLE_WITH_LIBEDIT:libedit \
+FS_STABLE_WITH_ODBC:unixodbc \
+ +FS_STABLE_WITH_PNG:libpng \
+libcurl \
+libpcre \
+libpthread \
--srcdir=$(PKG_BUILD_DIR) \
--sysconfdir=/etc \
--disable-dependency-tracking \
- --disable-libvpx \
- --disable-libyuv \
--disable-static \
--disable-system-xmlrpc-c \
--enable-fhs \
--with-soundsdir=/usr/share/$(PRG_NAME)/sounds \
--with-storagedir=/tmp/$(PRG_NAME)/storage \
--without-erlang \
- --without-freetype \
- --without-png \
--without-python \
$(call autoconf_bool,CONFIG_FS_STABLE_WITH_LIBEDIT,core-libedit-support) \
$(call autoconf_bool,CONFIG_FS_STABLE_WITH_ODBC,core-odbc-support) \
$(call autoconf_bool,CONFIG_FS_STABLE_WITH_SRTP,srtp) \
$(call autoconf_bool,CONFIG_FS_STABLE_WITH_ZRTP,zrtp) \
$(if $(CONFIG_FS_STABLE_WITH_DEBUG),,--disable-debug) \
+ $(if $(CONFIG_FS_STABLE_WITH_FREETYPE),,--without-freetype) \
+ $(if $(CONFIG_FS_STABLE_WITH_LIBYUV),,--disable-libyuv) \
$(if $(CONFIG_FS_STABLE_WITH_ODBC),--with-odbc-lib="$(STAGING_DIR)/usr/lib") \
$(if $(CONFIG_FS_STABLE_WITH_ODBC),--with-odbc="$(STAGING_DIR)/usr") \
- $(if $(CONFIG_FS_STABLE_WITH_PGSQL),--enable-core-pgsql-support,--without-pgsql)
+ $(if $(CONFIG_FS_STABLE_WITH_PGSQL),--enable-core-pgsql-support,--without-pgsql) \
+ $(if $(CONFIG_FS_STABLE_WITH_PNG),,--without-png) \
+ $(if $(CONFIG_FS_STABLE_WITH_VPX),,--disable-libvpx)
define Build/Prepare
$(call Build/Prepare/Default)
--- /dev/null
+--- a/Makefile.am
++++ b/Makefile.am
+@@ -550,7 +550,7 @@ libs/libzrtp/libzrtp.a:
+ cd libs/libzrtp && $(MAKE)
+
+ libs/libvpx/Makefile:
+- cd libs/libvpx && CC="$(CC)" CXX="$(CXX)" CFLAGS="$(CFLAGS)" CXXFLAGS="$(CXXFLAGS)" LDFLAGS="$(LDFLAGS)" ./configure --enable-pic --disable-docs --disable-examples --disable-install-bins --disable-install-srcs --disable-unit-tests --extra-cflags="$(VISIBILITY_FLAG)"
++ cd libs/libvpx && CROSS="$(CROSS)" CC="$(CC)" CXX="$(CXX)" CFLAGS="$(CFLAGS)" CXXFLAGS="$(CXXFLAGS)" LDFLAGS="$(LDFLAGS)" ./configure --target=generic-gnu --enable-pic --disable-docs --disable-examples --disable-install-bins --disable-install-srcs --disable-unit-tests --extra-cflags="$(VISIBILITY_FLAG)"
+
+ libs/libvpx/libvpx.a: libs/libvpx/Makefile
+ @cd libs/libvpx && $(MAKE)