diff --git a/package/open62541/Config.in b/package/open62541/Config.in index 220fb3dfa6..6045a5954d 100644 --- a/package/open62541/Config.in +++ b/package/open62541/Config.in @@ -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" diff --git a/package/open62541/open62541.mk b/package/open62541/open62541.mk index 1958befae5..00e7236c0e 100644 --- a/package/open62541/open62541.mk +++ b/package/open62541/open62541.mk @@ -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