mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH] open62541: simplify license define
@ 2025-04-20 16:41 Bruno Thomsen
  0 siblings, 0 replies; only message in thread
From: Bruno Thomsen @ 2025-04-20 16:41 UTC (permalink / raw)
  To: ptxdist; +Cc: bruno.thomsen

Avoid complex license define in makefile.

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

diff --git a/rules/open62541.make b/rules/open62541.make
index da2728637..66d2f6a0e 100644
--- a/rules/open62541.make
+++ b/rules/open62541.make
@@ -22,6 +22,10 @@ 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 AND BSD-3-Clause
+OPEN62541_LICENSE_FILES		:= \
+	file://LICENSE;md5=815ca599c9df247a0c7f619bab123dad \
+	file://deps/mdnsd/LICENSE;md5=3bb4047dc4095cd7336de3e2a9be94f0
 
 # use tarballs instead of git submodules
 # see https://github.com/open62541/open62541/tree/v$(version)/deps
@@ -32,18 +36,11 @@ OPEN62541_MDNSD_SUFFIX		:= tar.gz
 OPEN62541_MDNSD_URL		:= https://github.com/Pro/mdnsd/archive/$(OPEN62541_MDNSD_VERSION).$(OPEN62541_MDNSD_SUFFIX)
 OPEN62541_MDNSD_SOURCE		:= $(SRCDIR)/$(OPEN62541_MDNSD).$(OPEN62541_MDNSD_SUFFIX)
 OPEN62541_MDNSD_DIR		:= $(OPEN62541_DIR)/deps/mdnsd
-OPEN62541_MDNS_LICENSE		:= BSD-3-Clause
-OPEN62541_MDNS_LICENSE_FILES	:= file://deps/mdnsd/LICENSE;md5=3bb4047dc4095cd7336de3e2a9be94f0
 
 OPEN62541_DEVPKG		:= NO
 
 OPEN62541_PARTS			+= OPEN62541_MDNSD
 
-OPEN62541_LICENSE		:= $(HOST_OPEN62541_LICENSE) AND $(OPEN62541_MDNS_LICENSE)
-OPEN62541_LICENSE_FILES		:= \
-	$(HOST_OPEN62541_LICENSE_FILES) \
-	$(OPEN62541_MDNS_LICENSE_FILES)
-
 # ----------------------------------------------------------------------------
 # Prepare
 # ----------------------------------------------------------------------------

base-commit: f61905c23240642dec3e5390ee15e83cf1e016e9
-- 
2.49.0




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2025-04-20 16:42 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-04-20 16:41 [ptxdist] [PATCH] open62541: simplify license define Bruno Thomsen

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