Skip to content

Commit

Permalink
open62541: allow disabling subscriptions
Browse files Browse the repository at this point in the history
By default, subscriptions are turned on.

Signed-off-by: Johannes Kauffmann <[email protected]>
Signed-off-by: Khem Raj <[email protected]>
  • Loading branch information
JohannesKauffmann authored and kraj committed Jun 14, 2023
1 parent d613875 commit f8f47d5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion meta-networking/recipes-protocols/opcua/open62541_1.3.6.bb
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,15 @@ EXTRA_OECMAKE += "\
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
"

PACKAGECONFIG ?= "encryption-mbedtls pubsub pubsub-eth"
PACKAGECONFIG ?= "encryption-mbedtls pubsub pubsub-eth subscriptions subscriptions-events"
PACKAGECONFIG[amalgamation] = "-DUA_ENABLE_AMALGAMATION=ON, -DUA_ENABLE_AMALGAMATION=OFF"
PACKAGECONFIG[encryption-mbedtls] = "-DUA_ENABLE_ENCRYPTION=MBEDTLS, , mbedtls, , , encryption-openssl"
PACKAGECONFIG[encryption-openssl] = "-DUA_ENABLE_ENCRYPTION=OPENSSL, , openssl, , , encryption-mbedtls"
PACKAGECONFIG[multithreading] = "-DUA_MULTITHREADING=100, -DUA_MULTITHREADING=0"
PACKAGECONFIG[pubsub] = "-DUA_ENABLE_PUBSUB=ON, -DUA_ENABLE_PUBSUB=OFF"
PACKAGECONFIG[pubsub-eth] = "-DUA_ENABLE_PUBSUB_ETH_UADP=ON, -DUA_ENABLE_PUBSUB_ETH_UADP=OFF"
PACKAGECONFIG[subscriptions] = "-DUA_ENABLE_SUBSCRIPTIONS=ON, -DUA_ENABLE_SUBSCRIPTIONS=OFF"
PACKAGECONFIG[subscriptions-events] = "-DUA_ENABLE_SUBSCRIPTIONS_EVENTS=ON, -DUA_ENABLE_SUBSCRIPTIONS_EVENTS=OFF"
PACKAGECONFIG[werror] = "-DUA_FORCE_WERROR=ON, -DUA_FORCE_WERROR=OFF"

do_configure:prepend:toolchain-clang:riscv64() {
Expand Down

0 comments on commit f8f47d5

Please sign in to comment.