initial buildroot for linux 5.15

This commit is contained in:
Huan.Feng
2021-12-06 14:12:13 +08:00
parent d7767d594e
commit 7b6fc358fa
12736 changed files with 508822 additions and 0 deletions
+22
View File
@@ -0,0 +1,22 @@
config BR2_PACKAGE_BELLE_SIP
bool "belle-sip"
depends on BR2_INSTALL_LIBSTDCPP
depends on !BR2_STATIC_LIBS # dlfcn.h
depends on BR2_TOOLCHAIN_HAS_THREADS
depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735 # bctoolbox
depends on BR2_USE_WCHAR
select BR2_PACKAGE_BCTOOLBOX
# needs crypto support in bctoolbox
select BR2_PACKAGE_MBEDTLS
help
Belle-sip is a modern library implementing SIP (RFC 3261)
transport, transaction and dialog layers.
http://www.linphone.org/technical-corner/belle-sip
comment "belle-sip needs a toolchain w/ threads, C++, dynamic library, wchar"
depends on !BR2_INSTALL_LIBSTDCPP || BR2_STATIC_LIBS || \
!BR2_TOOLCHAIN_HAS_THREADS || !BR2_USE_WCHAR
comment "belle-sip needs a toolchain not affected by GCC bug 64735"
depends on BR2_TOOLCHAIN_HAS_GCC_BUG_64735
+3
View File
@@ -0,0 +1,3 @@
# Locally calculated
sha256 eabba615c97080572c1b9d3c76f8f9cf6a7432eedf37482672e5fa178a688f72 belle-sip-4.4.8.tar.gz
sha256 1b3782ccad7b8614100cda30d3faf42fc39f2e97932908c543005053b654ca68 LICENSE.txt
+44
View File
@@ -0,0 +1,44 @@
################################################################################
#
# belle-sip
#
################################################################################
BELLE_SIP_VERSION = 4.4.8
BELLE_SIP_SITE = \
https://gitlab.linphone.org/BC/public/belle-sip/-/archive/$(BELLE_SIP_VERSION)
BELLE_SIP_LICENSE = GPL-3.0+
BELLE_SIP_LICENSE_FILES = LICENSE.txt
BELLE_SIP_CPE_ID_VENDOR = linphone
BELLE_SIP_INSTALL_STAGING = YES
BELLE_SIP_DEPENDENCIES = \
bctoolbox \
$(if $(BR2_PACKAGE_ZLIB),zlib)
BELLE_SIP_CONF_OPTS = \
-DENABLE_STRICT=OFF \
-DENABLE_TESTS=OFF
ifeq ($(BR2_PACKAGE_AVAHI_LIBDNSSD_COMPATIBILITY),y)
BELLE_SIP_CONF_OPTS += -DENABLE_MDNS=ON
BELLE_SIP_DEPENDENCIES += avahi
else
BELLE_SIP_CONF_OPTS += -DENABLE_MDNS=OFF
endif
ifeq ($(BR2_STATIC_LIBS),y)
BELLE_SIP_CONF_OPTS += -DENABLE_SHARED=OFF -DENABLE_STATIC=ON
else ifeq ($(BR2_SHARED_STATIC_LIBS),y)
BELLE_SIP_CONF_OPTS += -DENABLE_SHARED=ON -DENABLE_STATIC=ON
else ifeq ($(BR2_SHARED_LIBS),y)
BELLE_SIP_CONF_OPTS += -DENABLE_SHARED=ON -DENABLE_STATIC=OFF
endif
BELLE_SIP_CFLAGS = $(TARGET_CFLAGS)
ifeq ($(BR2_TOOLCHAIN_HAS_GCC_BUG_99140),y)
BELLE_SIP_CFLAGS += -O0
endif
BELLE_SIP_CONF_OPTS += -DCMAKE_C_FLAGS="$(BELLE_SIP_CFLAGS)"
$(eval $(cmake-package))