All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] package/open62541: disable Events when minimal Namespace
@ 2022-07-22 11:00 Francois Perrad
  2022-07-23 11:34 ` Arnout Vandecappelle
  0 siblings, 1 reply; 2+ messages in thread
From: Francois Perrad @ 2022-07-22 11:00 UTC (permalink / raw)
  To: buildroot

the option UA_ENABLE_SUBSCRIPTIONS_EVENTS is enabled by default,
by not compatible with UA_NAMESPACE_ZERO=MINIMAL

see http://autobuild.buildroot.net/results/d8e34b8bddf0f3568e64705c6618b17bce70d210/

CMake Error at CMakeLists.txt:1120 (message):
  Events require at least the reduced Namespace Zero

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
---
 package/open62541/open62541.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/open62541/open62541.mk b/package/open62541/open62541.mk
index 594243c8a..5f46703c1 100644
--- a/package/open62541/open62541.mk
+++ b/package/open62541/open62541.mk
@@ -34,7 +34,7 @@ OPEN62541_CONF_OPTS += -DUA_ENABLE_ENCRYPTION=OPENSSL
 endif
 
 ifeq ($(BR2_PACKAGE_OPEN62541_UA_NAMESPACE_ZERO_MINIMAL),y)
-OPEN62541_CONF_OPTS += -DUA_NAMESPACE_ZERO=MINIMAL
+OPEN62541_CONF_OPTS += -DUA_NAMESPACE_ZERO=MINIMAL -DUA_ENABLE_SUBSCRIPTIONS_EVENTS=OFF
 else ifeq ($(BR2_PACKAGE_OPEN62541_UA_NAMESPACE_ZERO_REDUCED),y)
 OPEN62541_CONF_OPTS += -DUA_NAMESPACE_ZERO=REDUCED
 else ifeq ($(BR2_PACKAGE_OPEN62541_UA_NAMESPACE_ZERO_FULL),y)
-- 
2.34.1

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [Buildroot] [PATCH] package/open62541: disable Events when minimal Namespace
  2022-07-22 11:00 [Buildroot] [PATCH] package/open62541: disable Events when minimal Namespace Francois Perrad
@ 2022-07-23 11:34 ` Arnout Vandecappelle
  0 siblings, 0 replies; 2+ messages in thread
From: Arnout Vandecappelle @ 2022-07-23 11:34 UTC (permalink / raw)
  To: Francois Perrad, buildroot



On 22/07/2022 13:00, Francois Perrad wrote:
> the option UA_ENABLE_SUBSCRIPTIONS_EVENTS is enabled by default,
> by not compatible with UA_NAMESPACE_ZERO=MINIMAL
> 
> see http://autobuild.buildroot.net/results/d8e34b8bddf0f3568e64705c6618b17bce70d210/
> 
> CMake Error at CMakeLists.txt:1120 (message):
>    Events require at least the reduced Namespace Zero
> 
> Signed-off-by: Francois Perrad <francois.perrad@gadz.org>

  Applied to master, thanks.

  This also applies to the previous version 1.2.4, right, so it should be ported 
to the stable branches?

  Regards,
  Arnout

> ---
>   package/open62541/open62541.mk | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/package/open62541/open62541.mk b/package/open62541/open62541.mk
> index 594243c8a..5f46703c1 100644
> --- a/package/open62541/open62541.mk
> +++ b/package/open62541/open62541.mk
> @@ -34,7 +34,7 @@ OPEN62541_CONF_OPTS += -DUA_ENABLE_ENCRYPTION=OPENSSL
>   endif
>   
>   ifeq ($(BR2_PACKAGE_OPEN62541_UA_NAMESPACE_ZERO_MINIMAL),y)
> -OPEN62541_CONF_OPTS += -DUA_NAMESPACE_ZERO=MINIMAL
> +OPEN62541_CONF_OPTS += -DUA_NAMESPACE_ZERO=MINIMAL -DUA_ENABLE_SUBSCRIPTIONS_EVENTS=OFF
>   else ifeq ($(BR2_PACKAGE_OPEN62541_UA_NAMESPACE_ZERO_REDUCED),y)
>   OPEN62541_CONF_OPTS += -DUA_NAMESPACE_ZERO=REDUCED
>   else ifeq ($(BR2_PACKAGE_OPEN62541_UA_NAMESPACE_ZERO_FULL),y)
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-07-23 11:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-22 11:00 [Buildroot] [PATCH] package/open62541: disable Events when minimal Namespace Francois Perrad
2022-07-23 11:34 ` Arnout Vandecappelle

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.