package/open62541: more PubSub 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-07-20 22:45:38 +02:00
committed by Thomas Petazzoni
parent 463996d052
commit f29aecc64d
2 changed files with 26 additions and 0 deletions
+14
View File
@@ -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
+12
View File
@@ -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