[Buildroot] [NEXT 04/17] libpjsip: add oss option
Adam Duskett
aduskett at gmail.com
Mon Nov 13 15:04:20 UTC 2017
On Sat, Nov 11, 2017 at 4:38 AM, Arnout Vandecappelle <arnout at mind.be> wrote:
>
>
> On 10-11-17 21:20, Adam Duskett wrote:
>> Signed-off-by: Adam Duskett <aduskett at gmail.com>
>> ---
>> package/libpjsip/Config.in | 3 +++
>> package/libpjsip/libpjsip.mk | 5 ++++-
>> 2 files changed, 7 insertions(+), 1 deletion(-)
>>
>> diff --git a/package/libpjsip/Config.in b/package/libpjsip/Config.in
>> index a289c90a92..0a6398d508 100644
>> --- a/package/libpjsip/Config.in
>> +++ b/package/libpjsip/Config.in
>> @@ -23,6 +23,9 @@ config BR2_PACKAGE_LIBPJSIP_ALSA
>> bool "alsa support"
>> select BR2_PACKAGE_ALSA_LIB
>>
>> +config BR2_PACKAGE_LIBPJSIP_OSS
>> + bool "OSS support"
>
> I don't think adding support for OSS is useful. OSS has been deprecated for,
> what, 10 years now?
>
You would be surprised how often it's used in embedded environments. :(
> Regards,
> Arnout
>
>> +
>> endif # BR2_PACKAGE_LIBPJSIP_SOUND
>>
>> endif # BR2_PACKAGE_LIBPJSIP
>> diff --git a/package/libpjsip/libpjsip.mk b/package/libpjsip/libpjsip.mk
>> index f354cd3538..d02ca4e803 100644
>> --- a/package/libpjsip/libpjsip.mk
>> +++ b/package/libpjsip/libpjsip.mk
>> @@ -35,7 +35,6 @@ LIBPJSIP_CONF_OPTS = \
>> --disable-ilbc-codec \
>> --disable-libwebrtc \
>> --disable-opus \
>> - --disable-oss \
>> --disable-ext-sound \
>> --disable-g711-codec \
>> --disable-l16-codec \
>> @@ -75,4 +74,8 @@ ifeq ($(BR2_PACKAGE_LIBPJSIP_ALSA),y)
>> LIBPJSIP_DEPENDENCIES += alsa-lib
>> endif
>>
>> +ifneq ($(BR2_PACKAGE_LIBPJSIP_OSS),y)
>> +LIBPJSIP_CONF_OPTS += --disable-oss
>> +endif
>> +
>> $(eval $(autotools-package))
>>
>
> --
> Arnout Vandecappelle arnout at mind be
> Senior Embedded Software Architect +32-16-286500
> Essensium/Mind http://www.mind.be
> G.Geenslaan 9, 3001 Leuven, Belgium BE 872 984 063 RPR Leuven
> LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
> GPG fingerprint: 7493 020B C7E3 8618 8DEC 222C 82EB F404 F9AC 0DDF
More information about the buildroot
mailing list