update buildroot to 2017.02.11
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
Re #2059 (misc): Fixed possible function name clash with md5 due to non-static function.
|
||||
|
||||
Backported from: https://trac.pjsip.org/repos/changeset/5688
|
||||
Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
|
||||
|
||||
Index: pjlib-util/src/pjlib-util/md5.c
|
||||
===================================================================
|
||||
diff --git a/pjproject/pjlib-util/src/pjlib-util/md5.c b/pjproject/pjlib-util/src/pjlib-util/md5.c
|
||||
--- a/pjlib-util/src/pjlib-util/md5.c (revision 5687)
|
||||
+++ b/pjlib-util/src/pjlib-util/md5.c (revision 5688)
|
||||
@@ -29,13 +29,13 @@
|
||||
#ifndef HIGHFIRST
|
||||
#define byteReverse(buf, len) /* Nothing */
|
||||
#else
|
||||
-void byteReverse(unsigned char *buf, unsigned longs);
|
||||
+static void byteReverse(unsigned char *buf, unsigned longs);
|
||||
|
||||
#ifndef ASM_MD5
|
||||
/*
|
||||
* Note: this code is harmless on little-endian machines.
|
||||
*/
|
||||
-void byteReverse(unsigned char *buf, unsigned longs)
|
||||
+static void byteReverse(unsigned char *buf, unsigned longs)
|
||||
{
|
||||
pj_uint32_t t;
|
||||
do {
|
||||
14
bsp/buildroot-2017.02.11/package/libpjsip/Config.in
Normal file
14
bsp/buildroot-2017.02.11/package/libpjsip/Config.in
Normal file
@@ -0,0 +1,14 @@
|
||||
config BR2_PACKAGE_LIBPJSIP
|
||||
bool "libpjsip"
|
||||
depends on BR2_INSTALL_LIBSTDCPP
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS
|
||||
select BR2_PACKAGE_LIBSRTP
|
||||
help
|
||||
PJSIP is a free and open source multimedia communication
|
||||
library written in C language implementing standard based
|
||||
protocols such as: SIP, SDP, RTP, STUN, TURN, and ICE.
|
||||
|
||||
http://www.pjsip.org
|
||||
|
||||
comment "libpjsip needs a toolchain w/ C++, threads"
|
||||
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS
|
||||
6
bsp/buildroot-2017.02.11/package/libpjsip/libpjsip.hash
Normal file
6
bsp/buildroot-2017.02.11/package/libpjsip/libpjsip.hash
Normal file
@@ -0,0 +1,6 @@
|
||||
# From http://www.pjsip.org/release/2.7.2/MD5SUM.TXT
|
||||
md5 fa3f0bc098c4bff48ddd92db1c016a7a pjproject-2.7.2.tar.bz2
|
||||
|
||||
# Locally computed
|
||||
sha256 9c2c828abab7626edf18e04b041ef274bfaa86f99adf2c25ff56f1509e813772 pjproject-2.7.2.tar.bz2
|
||||
sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING
|
||||
72
bsp/buildroot-2017.02.11/package/libpjsip/libpjsip.mk
Normal file
72
bsp/buildroot-2017.02.11/package/libpjsip/libpjsip.mk
Normal file
@@ -0,0 +1,72 @@
|
||||
################################################################################
|
||||
#
|
||||
# libpjsip
|
||||
#
|
||||
################################################################################
|
||||
|
||||
LIBPJSIP_VERSION = 2.7.2
|
||||
LIBPJSIP_SOURCE = pjproject-$(LIBPJSIP_VERSION).tar.bz2
|
||||
LIBPJSIP_SITE = http://www.pjsip.org/release/$(LIBPJSIP_VERSION)
|
||||
LIBPJSIP_DEPENDENCIES = libsrtp
|
||||
LIBPJSIP_LICENSE = GPLv2+
|
||||
LIBPJSIP_LICENSE_FILES = COPYING
|
||||
LIBPJSIP_INSTALL_STAGING = YES
|
||||
LIBPJSIP_MAKE = $(MAKE1)
|
||||
|
||||
LIBPJSIP_CFLAGS = $(TARGET_CFLAGS) -DPJ_HAS_IPV6=1
|
||||
|
||||
# relocation truncated to fit: R_68K_GOT16O
|
||||
ifeq ($(BR2_m68k_cf),y)
|
||||
LIBPJSIP_CFLAGS += -mxgot
|
||||
endif
|
||||
|
||||
LIBPJSIP_CONF_ENV = \
|
||||
LD="$(TARGET_CC)" \
|
||||
CFLAGS="$(LIBPJSIP_CFLAGS)"
|
||||
|
||||
LIBPJSIP_CONF_OPTS = \
|
||||
--disable-sound \
|
||||
--disable-gsm-codec \
|
||||
--disable-speex-codec \
|
||||
--disable-speex-aec \
|
||||
--disable-resample \
|
||||
--disable-video \
|
||||
--disable-opencore-amr \
|
||||
--disable-g7221-codec \
|
||||
--disable-ilbc-codec \
|
||||
--disable-libwebrtc \
|
||||
--disable-opus \
|
||||
--disable-oss \
|
||||
--disable-ext-sound \
|
||||
--disable-small-filter \
|
||||
--disable-large-filter \
|
||||
--disable-g711-codec \
|
||||
--disable-l16-codec \
|
||||
--disable-g722-codec \
|
||||
--disable-libsamplerate \
|
||||
--disable-sdl \
|
||||
--disable-ffmpeg \
|
||||
--disable-v4l2 \
|
||||
--disable-openh264 \
|
||||
--disable-libyuv \
|
||||
--disable-ipp \
|
||||
--disable-silk \
|
||||
--with-external-srtp
|
||||
|
||||
# Note: aconfigure.ac is broken: --enable-epoll or --disable-epoll will
|
||||
# both enable it. But that's OK, epoll is better than the alternative,
|
||||
# so we want to use it.
|
||||
LIBPJSIP_CONF_OPTS += --enable-epoll
|
||||
|
||||
ifeq ($(BR2_PACKAGE_OPENSSL),y)
|
||||
LIBPJSIP_DEPENDENCIES += openssl
|
||||
LIBPJSIP_CONF_OPTS += --with-ssl=$(STAGING_DIR)/usr
|
||||
else
|
||||
LIBPJSIP_CONF_OPTS += --disable-ssl
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_UTIL_LINUX_LIBUUID),y)
|
||||
LIBPJSIP_DEPENDENCIES += util-linux
|
||||
endif
|
||||
|
||||
$(eval $(autotools-package))
|
||||
Reference in New Issue
Block a user