From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from dude02.hi.pengutronix.de ([2001:67c:670:100:1d::28] helo=dude02.lab.pengutronix.de) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ixAJi-0005R2-N9 for ptxdist@pengutronix.de; Thu, 30 Jan 2020 14:57:10 +0100 Received: from mol by dude02.lab.pengutronix.de with local (Exim 4.92) (envelope-from ) id 1ixAJi-00030M-G0 for ptxdist@pengutronix.de; Thu, 30 Jan 2020 14:57:10 +0100 Date: Thu, 30 Jan 2020 14:57:10 +0100 From: Michael Olbrich Message-ID: <20200130135710.GC2615@pengutronix.de> References: <20200128152705.7736-1-u.oelmann@pengutronix.de> <20200128152705.7736-2-u.oelmann@pengutronix.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20200128152705.7736-2-u.oelmann@pengutronix.de> Subject: Re: [ptxdist] [PATCH v2 2/3] host-ua-nodeset: New package. List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Errors-To: ptxdist-bounces@pengutronix.de Sender: "ptxdist" To: ptxdist@pengutronix.de On Tue, Jan 28, 2020 at 04:27:04PM +0100, Ulrich =D6lmann wrote: > From: Bj=F6rn Esser > = > The OPC Foundation's UA NodeSets and other normative files which are rele= ased > with an OPC UA specification (for details see [1]). Needed to build open6= 2541. > = > [1] https://github.com/OPCFoundation/UA-Nodeset/#opc-ua-nodesets-and-othe= r-supporting-files > = > Signed-off-by: Bj=F6rn Esser > [uol: adjusted commit message and Kconfig menu file's help text] > Signed-off-by: Ulrich =D6lmann > --- > v1 --> v2: adjusted commit message and Kconfig menu file's help text > = > rules/host-ua-nodeset.in | 10 +++++++++ > rules/host-ua-nodeset.make | 44 ++++++++++++++++++++++++++++++++++++++ > 2 files changed, 54 insertions(+) > create mode 100644 rules/host-ua-nodeset.in > create mode 100644 rules/host-ua-nodeset.make > = > diff --git a/rules/host-ua-nodeset.in b/rules/host-ua-nodeset.in > new file mode 100644 > index 000000000000..7d47e29feda5 > --- /dev/null > +++ b/rules/host-ua-nodeset.in > @@ -0,0 +1,10 @@ > +## SECTION=3Dhosttools_noprompt > + > +config HOST_UA_NODESET > + tristate default y if ALLYES > + help > + The OPC Foundation's UA NodeSets and other normative files which are > + released with an OPC UA specification (for details see [1]). Needed to > + build open62541. > + > + [1] https://github.com/OPCFoundation/UA-Nodeset/#opc-ua-nodesets-and-= other-supporting-files > diff --git a/rules/host-ua-nodeset.make b/rules/host-ua-nodeset.make > new file mode 100644 > index 000000000000..0b846f31d121 > --- /dev/null > +++ b/rules/host-ua-nodeset.make > @@ -0,0 +1,44 @@ > +# -*-makefile-*- > +# > +# Copyright (C) 2019 by Bjoern Esser > +# > +# For further information about the PTXdist project and license conditio= ns > +# see the README file. > +# > + > +# > +# We provide this package > +# > +HOST_PACKAGES-$(PTXCONF_HOST_UA_NODESET) +=3D host-ua-nodeset > + > +# > +# Paths and names > +# > +HOST_UA_NODESET_VERSION :=3D 1.04.4-2020-01-08 > +HOST_UA_NODESET_MD5 :=3D ce7b39c7f2d65617f76e0301f654a9ea > +HOST_UA_NODESET :=3D ua-nodeset-$(HOST_UA_NODESET_VERSION) > +HOST_UA_NODESET_SUFFIX :=3D tar.gz > +HOST_UA_NODESET_URL :=3D https://github.com/OPCFoundation/UA-Nodeset/arc= hive/UA-$(HOST_UA_NODESET_VERSION)/$(HOST_UA_NODESET).$(HOST_UA_NODESET_SUF= FIX) > +HOST_UA_NODESET_SOURCE :=3D $(SRCDIR)/$(HOST_UA_NODESET).$(HOST_UA_NODES= ET_SUFFIX) > +HOST_UA_NODESET_DIR :=3D $(HOST_BUILDDIR)/$(HOST_UA_NODESET) > + > +# ----------------------------------------------------------------------= ------ > +# Compile > +# ----------------------------------------------------------------------= ------ > + > +$(STATEDIR)/host-ua-nodeset.compile: > + @$(call targetinfo) > + @$(call touch) > + > +# ----------------------------------------------------------------------= ------ > +# Install > +# ----------------------------------------------------------------------= ------ > + > +$(STATEDIR)/host-ua-nodeset.install: > + @$(call targetinfo) > + > + @mkdir -p $(HOST_UA_NODESET_PKGDIR)/usr/share/ua-nodeset > + @cp -a $(HOST_BUILDDIR)/$(HOST_UA_NODESET)/* \ > + $(HOST_UA_NODESET_PKGDIR)/usr/share/ua-nodeset @$(call world/execute, HOST_UA_NODESET, \ install -vD -t $(HOST_UA_NODESET_PKGDIR)/usr/share/ua-nodeset \ $(HOST_BUILDDIR)/$(HOST_UA_NODESET)/*) This will also delete any old files. Michael > + > + @$(call touch) > -- = > 2.25.0 > = > = > _______________________________________________ > ptxdist mailing list > ptxdist@pengutronix.de -- = Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ ptxdist mailing list ptxdist@pengutronix.de