package/open62541: more options

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Francois Perrad 2022-06-15 18:17:50 +02:00 committed by Thomas Petazzoni
parent 35befff3be
commit 463996d052
2 changed files with 24 additions and 0 deletions

View File

@ -39,8 +39,20 @@ config BR2_PACKAGE_OPEN62541_UA_NAMESPACE_ZERO_FULL
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"

View File

@ -31,6 +31,18 @@ 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