Initial Commit

- initial default booting image
This commit is contained in:
2026-11-06 20:45:42 +01:00
commit b8783708ae
15201 changed files with 602532 additions and 0 deletions

65
package/zeromq/Config.in Normal file
View File

@@ -0,0 +1,65 @@
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
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

View File

@@ -0,0 +1,6 @@
# From https://github.com/zeromq/libzmq/releases
md5 ae933b1e98411fd7cb8309f9502d2737 zeromq-4.3.5.tar.gz
sha1 bdbf686c8a40ba638e21cf74e34dbb425e108500 zeromq-4.3.5.tar.gz
# Locally computed
sha256 6653ef5910f17954861fe72332e68b03ca6e4d9c7160eb3a8de5a5a913bfab43 zeromq-4.3.5.tar.gz
sha256 1f256ecad192880510e84ad60474eab7589218784b9a50bc7ceee34c2b91f1d5 LICENSE

102
package/zeromq/zeromq.mk Normal file
View File

@@ -0,0 +1,102 @@
################################################################################
#
# zeromq
#
################################################################################
ZEROMQ_VERSION = 4.3.5
ZEROMQ_SITE = https://github.com/zeromq/libzmq/releases/download/v$(ZEROMQ_VERSION)
ZEROMQ_INSTALL_STAGING = YES
ZEROMQ_CONF_OPTS = --disable-perf --disable-Werror --without-documentation
ZEROMQ_LICENSE = MPL-2.0
ZEROMQ_LICENSE_FILES = LICENSE
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_o_cloexec=yes \
libzmq_cv_so_keepalive=yes \
libzmq_cv_so_priority=yes \
libzmq_cv_so_bindtodevice=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))