|
@@ -36,7 +36,6 @@ LIBPJSIP_CONF_OPTS = \
|
|
|
--disable-sdl \
|
|
|
--disable-ffmpeg \
|
|
|
--disable-openh264 \
|
|
|
- --disable-libyuv \
|
|
|
--disable-ipp \
|
|
|
--disable-silk \
|
|
|
--with-external-srtp
|
|
@@ -94,6 +93,15 @@ else
|
|
|
LIBPJSIP_CONF_OPTS += --disable-v4l2
|
|
|
endif
|
|
|
|
|
|
+ifeq ($(BR2_PACKAGE_LIBYUV),y)
|
|
|
+LIBPJSIP_DEPENDENCIES += libyuv
|
|
|
+LIBPJSIP_CONF_OPTS += \
|
|
|
+ --enable-libyuv \
|
|
|
+ --with-external-yuv
|
|
|
+else
|
|
|
+LIBPJSIP_CONF_OPTS += --disable-libyuv
|
|
|
+endif
|
|
|
+
|
|
|
ifeq ($(BR2_PACKAGE_OPENCORE_AMR),y)
|
|
|
LIBPJSIP_DEPENDENCIES += opencore-amr
|
|
|
LIBPJSIP_CONF_OPTS += --with-opencore-amr=$(STAGING_DIR)/usr
|