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
+67
View File
@@ -0,0 +1,67 @@
comment "zeromq needs a toolchain w/ C++, threads"
depends on !(BR2_INSTALL_LIBSTDCPP && BR2_TOOLCHAIN_HAS_THREADS)
config BR2_PACKAGE_ZEROMQ
bool "zeromq"
depends on BR2_INSTALL_LIBSTDCPP
depends on BR2_TOOLCHAIN_HAS_THREADS
select BR2_PACKAGE_UTIL_LINUX
select BR2_PACKAGE_UTIL_LINUX_LIBUUID
help
ØMQ (ZeroMQ, 0MQ, zmq) looks like an embeddable networking
library but acts like a concurrency framework. It gives you
sockets that carry whole messages across various transports
like in-process, inter- process, TCP, and multicast. You can
connect sockets N-to-N with patterns like fanout, pub-sub,
task distribution, and request-reply. It's fast enough to
be the fabric for clustered products. Its asynchronous I/O
model gives you scalable multicore applications, built as
asynchronous message-processing tasks. It has a score of
language APIs and runs on most operating systems.
ØMQ is from iMatix and is LGPL open source.
http://www.zeromq.org/
if BR2_PACKAGE_ZEROMQ
comment "norm support needs a toolchain w/ dynamic library"
depends on BR2_STATIC_LIBS
config BR2_PACKAGE_ZEROMQ_NORM
bool "NORM support"
depends on !BR2_STATIC_LIBS
select BR2_PACKAGE_NORM
help
Add support for NACK-Oriented Reliable Multicast (RFC 5740)
protocol.
comment "PGM/EPGM support needs a toolchain w/ wchar"
depends on BR2_TOOLCHAIN_HAS_SYNC_2
depends on BR2_TOOLCHAIN_HAS_SYNC_4
depends on !BR2_USE_WCHAR
config BR2_PACKAGE_ZEROMQ_PGM
bool "PGM/EPGM support"
depends on BR2_TOOLCHAIN_HAS_SYNC_2
depends on BR2_TOOLCHAIN_HAS_SYNC_4
depends on BR2_USE_WCHAR # openpgm
select BR2_PACKAGE_OPENPGM
help
Add support for Pragmatic General Multicast protocol (RFC
3208) implemented either over raw IP packets or UDP
datagrams (encapsulated PGM).
config BR2_PACKAGE_ZEROMQ_DRAFTS
bool "Draft APIs support"
help
Enable unstable draft ZeroMQ APIs
https://pyzmq.readthedocs.io/en/latest/draft.html
config BR2_PACKAGE_ZEROMQ_WEBSOCKET
bool "WebSocket support"
help
Enable WebSocket transport
endif
+7
View File
@@ -0,0 +1,7 @@
# From https://github.com/zeromq/libzmq/releases
md5 c897d4005a3f0b8276b00b7921412379 zeromq-4.3.4.tar.gz
sha1 47277a64749049123d1401600e8cfbab10a3ae28 zeromq-4.3.4.tar.gz
# Locally computed
sha256 c593001a89f5a85dd2ddf564805deb860e02471171b3f204944857336295c3e5 zeromq-4.3.4.tar.gz
sha256 4fd86507c9b486764343065a9e035222869a27b5789efeb4fd93edc85412d7a3 COPYING
sha256 83f32abe61ee58ffb1b007412c08415168c052501dbf56d7a47aaaac52b03ef6 COPYING.LESSER
+100
View File
@@ -0,0 +1,100 @@
################################################################################
#
# zeromq
#
################################################################################
ZEROMQ_VERSION = 4.3.4
ZEROMQ_SITE = https://github.com/zeromq/libzmq/releases/download/v$(ZEROMQ_VERSION)
ZEROMQ_INSTALL_STAGING = YES
ZEROMQ_DEPENDENCIES = util-linux
ZEROMQ_CONF_OPTS = --disable-Werror --without-documentation
ZEROMQ_LICENSE = LGPL-3.0+ with exceptions
ZEROMQ_LICENSE_FILES = COPYING COPYING.LESSER
ZEROMQ_CPE_ID_VENDOR = zeromq
ZEROMQ_CPE_ID_PRODUCT = libzmq
# Assume these flags are always available. It is true, at least for
# SOCK_CLOEXEC, since linux v2.6.27.
# Note: the flag TCP_KEEPALIVE is NOT available so we do not include it.
ZEROMQ_CONF_ENV = libzmq_cv_sock_cloexec=yes \
libzmq_cv_so_keepalive=yes \
libzmq_cv_tcp_keepcnt=yes \
libzmq_cv_tcp_keepidle=yes \
libzmq_cv_tcp_keepintvl=yes
# Internal error, aborting at dwarf2cfi.c:2752 in connect_traces
# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58864
ifeq ($(BR2_m68k_cf),y)
ZEROMQ_CONF_OPTS += CXXFLAGS="$(TARGET_CXXFLAGS) -fno-defer-pop"
endif
# Only tools/curve_keygen.c needs this, but it doesn't hurt to pass it
# for the rest of the build as well (which automatically includes stdc++).
ifeq ($(BR2_STATIC_LIBS),y)
ZEROMQ_CONF_OPTS += LIBS=-lstdc++
endif
ifeq ($(BR2_PACKAGE_ZEROMQ_NORM),y)
ZEROMQ_CONF_OPTS += --with-norm
ZEROMQ_DEPENDENCIES += norm
else
ZEROMQ_CONF_OPTS += --without-norm
endif
ifeq ($(BR2_PACKAGE_ZEROMQ_PGM),y)
ZEROMQ_DEPENDENCIES += host-pkgconf openpgm
ZEROMQ_CONF_OPTS += --with-pgm
else
ZEROMQ_CONF_OPTS += --without-pgm
endif
ifeq ($(BR2_PACKAGE_ZEROMQ_DRAFTS),y)
ZEROMQ_CONF_OPTS += --enable-drafts
else
ZEROMQ_CONF_OPTS += --disable-drafts
endif
ifeq ($(BR2_PACKAGE_ZEROMQ_WEBSOCKET),y)
ZEROMQ_CONF_OPTS += --enable-ws
else
ZEROMQ_CONF_OPTS += --disable-ws
endif
ifeq ($(BR2_PACKAGE_GNUTLS),y)
ZEROMQ_DEPENDENCIES += host-pkgconf gnutls
ZEROMQ_CONF_OPTS += --with-tls
else
ZEROMQ_CONF_OPTS += --without-tls
endif
ifeq ($(BR2_PACKAGE_LIBBSD),y)
ZEROMQ_DEPENDENCIES += host-pkgconf libbsd
ZEROMQ_CONF_OPTS += --enable-libbsd
else
ZEROMQ_CONF_OPTS += --disable-libbsd
endif
ifeq ($(BR2_PACKAGE_LIBNSS),y)
ZEROMQ_DEPENDENCIES += host-pkgconf libnss
ZEROMQ_CONF_OPTS += --with-nss
else
ZEROMQ_CONF_OPTS += --without-nss
endif
# ZeroMQ uses libsodium if it's available.
ifeq ($(BR2_PACKAGE_LIBSODIUM),y)
ZEROMQ_DEPENDENCIES += libsodium
ZEROMQ_CONF_OPTS += --with-libsodium="$(STAGING_DIR)/usr"
else
ZEROMQ_CONF_OPTS += --without-libsodium
endif
ifeq ($(BR2_PACKAGE_LIBUNWIND),y)
ZEROMQ_DEPENDENCIES += libunwind
ZEROMQ_CONF_OPTS += --enable-libunwind
else
ZEROMQ_CONF_OPTS += --disable-libunwind
endif
$(eval $(autotools-package))