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

117
package/open62541/Config.in Normal file
View File

@@ -0,0 +1,117 @@
config BR2_PACKAGE_OPEN62541
bool "open62541"
help
open62541 is an open source and free implementation of OPC UA.
https://open62541.org/
if BR2_PACKAGE_OPEN62541
choice
prompt "encryption"
default BR2_PACKAGE_OPEN62541_ENCRYPTION_NONE
help
Encryption support
config BR2_PACKAGE_OPEN62541_ENCRYPTION_NONE
bool "none"
config BR2_PACKAGE_OPEN62541_ENCRYPTION_MBEDTLS
bool "mbedtls"
select BR2_PACKAGE_MBEDTLS
config BR2_PACKAGE_OPEN62541_ENCRYPTION_OPENSSL
bool "openssl"
select BR2_PACKAGE_OPENSSL
select BR2_PACKAGE_OPENSSL_FORCE_LIBOPENSSL
endchoice
choice
prompt "namespace zero nodes"
help
Namespace zero contains the standard-defined nodes. The full
namespace zero may not be required for all applications.
config BR2_PACKAGE_OPEN62541_UA_NAMESPACE_ZERO_DEFAULT
bool "default"
help
Use the default namespace zero contents.
config BR2_PACKAGE_OPEN62541_UA_NAMESPACE_ZERO_MINIMAL
bool "minimal"
help
A barebones namespace zero that is compatible with most
clients. But this namespace 0 is so small that it does not
pass the CTT (Conformance Testing Tools of the OPC
Foundation).
config BR2_PACKAGE_OPEN62541_UA_NAMESPACE_ZERO_REDUCED
bool "reduced"
help
Small namespace zero that passes the CTT.
config BR2_PACKAGE_OPEN62541_UA_NAMESPACE_ZERO_FULL
bool "full"
help
Full namespace zero generated from the official XML
definitions.
endchoice
config BR2_PACKAGE_OPEN62541_HISTORIZING
bool "historizing"
help
Enable basic support for historical access (client and server)
config BR2_PACKAGE_OPEN62541_DISCOVERY
bool "discovery"
help
Enable Discovery Service (LDS)
config BR2_PACKAGE_OPEN62541_JSON_ENCODING
bool "json encoding"
help
Enable JSON encoding
config BR2_PACKAGE_OPEN62541_PUBSUB
bool "publish/subscribe"
help
Enable the experimental OPC UA PubSub support. The option
will include the PubSub UDP multicast plugin.
if BR2_PACKAGE_OPEN62541_PUBSUB
config BR2_PACKAGE_OPEN62541_PUBSUB_DELTAFRAMES
bool "publish/subscribe deltaframes"
help
The PubSub messages differentiate between keyframe (all
published values contained) and deltaframe (only changed
values contained) messages. Deltaframe messages creation
consumes some additional resources.
config BR2_PACKAGE_OPEN62541_PUBSUB_INFORMATIONMODEL
bool "publish/subscribe information model"
depends on BR2_PACKAGE_OPEN62541_UA_NAMESPACE_ZERO_REDUCED || \
BR2_PACKAGE_OPEN62541_UA_NAMESPACE_ZERO_FULL
help
Enable the information model representation of the PubSub
configuration.
if BR2_PACKAGE_OPEN62541_PUBSUB_INFORMATIONMODEL
config BR2_PACKAGE_OPEN62541_PUBSUB_INFORMATIONMODEL_METHODS
bool "publish/subscribe information model methods"
help
Enable PubSub informationmodel methods
endif
config BR2_PACKAGE_OPEN62541_PUBSUB_ETH_UADP
bool "publish/subscribe UADP"
help
Enable publish/subscribe UADP over Ethernet
endif # BR2_PACKAGE_OPEN62541_PUBSUB
endif

View File

@@ -0,0 +1,3 @@
# Locally calculated
sha256 a8719f299505b144bd68bf557ad0b023fa28faf8862ff2d0b171381c8bd278c3 open62541-v1.3.15-git4.tar.gz
sha256 fab3dd6bdab226f1c08630b1dd917e11fcb4ec5e1e020e2c16f83a0a13863e85 LICENSE

View File

@@ -0,0 +1,101 @@
################################################################################
#
# open62541
#
################################################################################
OPEN62541_VERSION_UPSTREAM = 1.3.15
OPEN62541_VERSION = v$(OPEN62541_VERSION_UPSTREAM)
OPEN62541_SITE_METHOD = git
OPEN62541_SITE = https://github.com/open62541/open62541.git
OPEN62541_GIT_SUBMODULES = YES
OPEN62541_INSTALL_STAGING = YES
OPEN62541_LICENSE = MPL-2.0
OPEN62541_LICENSE_FILES = LICENSE
OPEN62541_CPE_ID_VENDOR = open62541
OPEN62541_CPE_ID_VERSION = $(OPEN62541_VERSION_UPSTREAM)
# Force Release build to remove -Werror.
# Don't use git describe to get the version number.
# Disable hardening options to let Buildroot handle it.
OPEN62541_CONF_OPTS = \
-DCMAKE_BUILD_TYPE=Release \
-DGIT_EXECUTABLE=NO \
-DOPEN62541_VERSION=$(OPEN62541_VERSION) \
-DUA_ENABLE_HARDENING=OFF \
-DUA_FORCE_WERROR=OFF
ifeq ($(BR2_PACKAGE_OPEN62541_ENCRYPTION_MBEDTLS),y)
OPEN62541_DEPENDENCIES += mbedtls
OPEN62541_CONF_OPTS += -DUA_ENABLE_ENCRYPTION=MBEDTLS
endif
ifeq ($(BR2_PACKAGE_OPEN62541_ENCRYPTION_OPENSSL),y)
OPEN62541_DEPENDENCIES += openssl
OPEN62541_CONF_OPTS += -DUA_ENABLE_ENCRYPTION=OPENSSL
endif
ifeq ($(BR2_PACKAGE_OPEN62541_UA_NAMESPACE_ZERO_MINIMAL),y)
OPEN62541_CONF_OPTS += -DUA_NAMESPACE_ZERO=MINIMAL -DUA_ENABLE_SUBSCRIPTIONS_EVENTS=OFF
else ifeq ($(BR2_PACKAGE_OPEN62541_UA_NAMESPACE_ZERO_REDUCED),y)
OPEN62541_CONF_OPTS += -DUA_NAMESPACE_ZERO=REDUCED
else ifeq ($(BR2_PACKAGE_OPEN62541_UA_NAMESPACE_ZERO_FULL),y)
OPEN62541_CONF_OPTS += -DUA_NAMESPACE_ZERO=FULL
endif
ifeq ($(BR2_PACKAGE_OPEN62541_HISTORIZING),y)
OPEN62541_CONF_OPTS += -DUA_ENABLE_HISTORIZING=ON
else
OPEN62541_CONF_OPTS += -DUA_ENABLE_HISTORIZING=OFF
endif
ifeq ($(BR2_PACKAGE_OPEN62541_DISCOVERY),y)
OPEN62541_CONF_OPTS += -DUA_ENABLE_DISCOVERY=ON
else
OPEN62541_CONF_OPTS += -DUA_ENABLE_DISCOVERY=OFF
endif
ifeq ($(BR2_PACKAGE_OPEN62541_JSON_ENCODING),y)
OPEN62541_CONF_OPTS += -DUA_ENABLE_JSON_ENCODING=ON
else
OPEN62541_CONF_OPTS += -DUA_ENABLE_JSON_ENCODING=OFF
endif
ifeq ($(BR2_PACKAGE_OPEN62541_PUBSUB),y)
OPEN62541_CONF_OPTS += -DUA_ENABLE_PUBSUB=ON
else
OPEN62541_CONF_OPTS += -DUA_ENABLE_PUBSUB=OFF
endif
ifeq ($(BR2_PACKAGE_OPEN62541_PUBSUB_DELTAFRAMES),y)
OPEN62541_CONF_OPTS += -DUA_ENABLE_PUBSUB_DELTAFRAMES=ON
else
OPEN62541_CONF_OPTS += -DUA_ENABLE_PUBSUB_DELTAFRAMES=OFF
endif
ifeq ($(BR2_PACKAGE_OPEN62541_PUBSUB_INFORMATIONMODEL),y)
OPEN62541_CONF_OPTS += -DUA_ENABLE_PUBSUB_INFORMATIONMODEL=ON
else
OPEN62541_CONF_OPTS += -DUA_ENABLE_PUBSUB_INFORMATIONMODEL=OFF
endif
ifeq ($(BR2_PACKAGE_OPEN62541_PUBSUB_INFORMATIONMODEL_METHODS),y)
OPEN62541_CONF_OPTS += -DUA_ENABLE_PUBSUB_INFORMATIONMODEL_METHODS=ON
else
OPEN62541_CONF_OPTS += -DUA_ENABLE_PUBSUB_INFORMATIONMODEL_METHODS=OFF
endif
ifeq ($(BR2_PACKAGE_OPEN62541_PUBSUB_ETH_UADP),y)
OPEN62541_CONF_OPTS += -DUA_ENABLE_PUBSUB_ETH_UADP=ON
else
OPEN62541_CONF_OPTS += -DUA_ENABLE_PUBSUB_ETH_UADP=OFF
endif
# Remove unneeded files
define OPEN62541_REMOVE_UNNEEDED_FILES
$(RM) -r $(TARGET_DIR)/usr/share/open62541
endef
OPEN62541_POST_INSTALL_TARGET_HOOKS += OPEN62541_REMOVE_UNNEEDED_FILES
$(eval $(cmake-package))