diff --git a/package/open62541/Config.in b/package/open62541/Config.in index 6045a5954d..3f5eb78d52 100644 --- a/package/open62541/Config.in +++ b/package/open62541/Config.in @@ -78,6 +78,20 @@ config BR2_PACKAGE_OPEN62541_PUBSUB_INFORMATIONMODEL 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 diff --git a/package/open62541/open62541.mk b/package/open62541/open62541.mk index 00e7236c0e..9757aa18cb 100644 --- a/package/open62541/open62541.mk +++ b/package/open62541/open62541.mk @@ -67,6 +67,18 @@ 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