mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH] open62541: fix cross rule variable use
@ 2026-07-14 18:37 Bruno Thomsen
  2026-08-14  7:41 ` [ptxdist] [APPLIED] " Michael Olbrich
  0 siblings, 1 reply; 2+ messages in thread
From: Bruno Thomsen @ 2026-07-14 18:37 UTC (permalink / raw)
  To: ptxdist; +Cc: Bruno Thomsen

Avoid using host package rule variables in target package rule.
In this case it breaks target package information as host packages are ignored.

"license": " AND BSD-3-Clause"

Fixes: 4948d954f0c7b ('open62541: fix inclusion of mdnsd license in license report')

Signed-off-by: Bruno Thomsen <bruno.thomsen@gmail.com>
---
 rules/open62541.make | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/rules/open62541.make b/rules/open62541.make
index 89b40c6bc..d7a95c379 100644
--- a/rules/open62541.make
+++ b/rules/open62541.make
@@ -22,6 +22,8 @@ OPEN62541_SUFFIX		:= tar.gz
 OPEN62541_URL			:= https://github.com/open62541/open62541/archive/refs/tags/v$(OPEN62541_VERSION).$(OPEN62541_SUFFIX)
 OPEN62541_SOURCE		:= $(SRCDIR)/$(OPEN62541).$(OPEN62541_SUFFIX)
 OPEN62541_DIR			:= $(BUILDDIR)/$(OPEN62541)
+OPEN62541_LICENSE		:= MPL-2.0
+OPEN62541_LICENSE_FILES		:= file://LICENSE;md5=815ca599c9df247a0c7f619bab123dad
 
 # use tarballs instead of git submodules
 # see https://github.com/open62541/open62541/tree/v$(version)/deps
@@ -39,9 +41,9 @@ OPEN62541_DEVPKG		:= NO
 
 OPEN62541_PARTS			+= OPEN62541_MDNSD
 
-OPEN62541_LICENSE		:= $(HOST_OPEN62541_LICENSE) AND $(OPEN62541_MDNS_LICENSE)
+OPEN62541_LICENSE		:= $(OPEN62541_LICENSE) AND $(OPEN62541_MDNS_LICENSE)
 OPEN62541_LICENSE_FILES		:= \
-	$(HOST_OPEN62541_LICENSE_FILES) \
+	$(OPEN62541_LICENSE_FILES) \
 	$(OPEN62541_MDNS_LICENSE_FILES)
 
 # ----------------------------------------------------------------------------

base-commit: e8c7cb2745110eed459a4542edff3397d0913038
-- 
2.55.0




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

* Re: [ptxdist] [APPLIED] open62541: fix cross rule variable use
  2026-07-14 18:37 [ptxdist] [PATCH] open62541: fix cross rule variable use Bruno Thomsen
@ 2026-08-14  7:41 ` Michael Olbrich
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Olbrich @ 2026-08-14  7:41 UTC (permalink / raw)
  To: ptxdist; +Cc: Bruno Thomsen

Thanks, applied as e89ec87c6f37bdf9ab2410e55ee59d48b1b83e36.

Michael

[sent from post-receive hook]

On Fri, 14 Aug 2026 09:41:03 +0200, Bruno Thomsen <bruno.thomsen@gmail.com> wrote:
> Avoid using host package rule variables in target package rule.
> In this case it breaks target package information as host packages are ignored.
> 
> "license": " AND BSD-3-Clause"
> 
> Fixes: 4948d954f0c7b ('open62541: fix inclusion of mdnsd license in license report')
> 
> Signed-off-by: Bruno Thomsen <bruno.thomsen@gmail.com>
> Message-Id: <20260714183720.18755-1-bruno.thomsen@gmail.com>
> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
> 
> diff --git a/rules/open62541.make b/rules/open62541.make
> index 89b40c6bced0..d7a95c379330 100644
> --- a/rules/open62541.make
> +++ b/rules/open62541.make
> @@ -22,6 +22,8 @@ OPEN62541_SUFFIX		:= tar.gz
>  OPEN62541_URL			:= https://github.com/open62541/open62541/archive/refs/tags/v$(OPEN62541_VERSION).$(OPEN62541_SUFFIX)
>  OPEN62541_SOURCE		:= $(SRCDIR)/$(OPEN62541).$(OPEN62541_SUFFIX)
>  OPEN62541_DIR			:= $(BUILDDIR)/$(OPEN62541)
> +OPEN62541_LICENSE		:= MPL-2.0
> +OPEN62541_LICENSE_FILES		:= file://LICENSE;md5=815ca599c9df247a0c7f619bab123dad
>  
>  # use tarballs instead of git submodules
>  # see https://github.com/open62541/open62541/tree/v$(version)/deps
> @@ -39,9 +41,9 @@ OPEN62541_DEVPKG		:= NO
>  
>  OPEN62541_PARTS			+= OPEN62541_MDNSD
>  
> -OPEN62541_LICENSE		:= $(HOST_OPEN62541_LICENSE) AND $(OPEN62541_MDNS_LICENSE)
> +OPEN62541_LICENSE		:= $(OPEN62541_LICENSE) AND $(OPEN62541_MDNS_LICENSE)
>  OPEN62541_LICENSE_FILES		:= \
> -	$(HOST_OPEN62541_LICENSE_FILES) \
> +	$(OPEN62541_LICENSE_FILES) \
>  	$(OPEN62541_MDNS_LICENSE_FILES)
>  
>  # ----------------------------------------------------------------------------



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

end of thread, other threads:[~2026-08-14  7:41 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-14 18:37 [ptxdist] [PATCH] open62541: fix cross rule variable use Bruno Thomsen
2026-08-14  7:41 ` [ptxdist] [APPLIED] " Michael Olbrich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox