From: Michael Olbrich <mol@pengutronix.de>
To: ptxdist@pengutronix.de
Cc: Ulrich Oelmann <u.oelmann@pengutronix.de>
Subject: Re: [ptxdist] [v7,3/4] host-ua-nodeset: new package
Date: Fri, 27 Mar 2020 10:52:28 +0100 [thread overview]
Message-ID: <E1jHlfA-0000It-9i@dude02.lab.pengutronix.de> (raw)
In-Reply-To: <20200318152757.5330-3-u.oelmann@pengutronix.de>
Thanks, applied.
Michael
[sent from post-receive hook]
On Fri, 27 Mar 2020 10:52:28 +0100, Ulrich Ãlmann <u.oelmann@pengutronix.de> wrote:
> From: Björn Esser <b.esser@pengutronix.de>
>
> 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
>
> Signed-off-by: Björn Esser <b.esser@pengutronix.de>
> [uol: adjusted commit message & Kconfig menu file's help text, added default y
> to HOST_UA_NODESET, wrapped mkdir & cp into world/execute & execute and made
> them more verbose]
> Signed-off-by: Ulrich Ölmann <u.oelmann@pengutronix.de>
> ---
>
> Notes:
> v1 --> v2: adjusted commit message and Kconfig menu file's help text
> v2 --> v3: adjusted commit message and replaced mkdir/cp by install -D -t
> v3 --> v4: adjusted commit message and added default y in Kconfig menu file
> v4 --> v5: adjusted commit message and re-replaced install -D -t by mkdir/cp
> wrapped into world/execute and execute
> v6 --> v7: adjusted commit message and made mkdir & cp more verbose
>
> rules/host-ua-nodeset.in | 11 +++++++++
> rules/host-ua-nodeset.make | 46 ++++++++++++++++++++++++++++++++++++++
> 2 files changed, 57 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..ba10ae26c36c
> --- /dev/null
> +++ b/rules/host-ua-nodeset.in
> @@ -0,0 +1,11 @@
> +## SECTION=hosttools_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..4e8eec5dd5a6
> --- /dev/null
> +++ b/rules/host-ua-nodeset.make
> @@ -0,0 +1,46 @@
> +# -*-makefile-*-
> +#
> +# Copyright (C) 2019 by Bjoern Esser <bes@pengutronix.de>
> +#
> +# For further information about the PTXdist project and license conditions
> +# see the README file.
> +#
> +
> +#
> +# We provide this package
> +#
> +HOST_PACKAGES-$(PTXCONF_HOST_UA_NODESET) += host-ua-nodeset
> +
> +#
> +# Paths and names
> +#
> +HOST_UA_NODESET_VERSION := 1.04.4-2020-01-08
> +HOST_UA_NODESET_MD5 := ce7b39c7f2d65617f76e0301f654a9ea
> +HOST_UA_NODESET := ua-nodeset-$(HOST_UA_NODESET_VERSION)
> +HOST_UA_NODESET_SUFFIX := tar.gz
> +HOST_UA_NODESET_URL := https://github.com/OPCFoundation/UA-Nodeset/archive/UA-$(HOST_UA_NODESET_VERSION)/$(HOST_UA_NODESET).$(HOST_UA_NODESET_SUFFIX)
> +HOST_UA_NODESET_SOURCE := $(SRCDIR)/$(HOST_UA_NODESET).$(HOST_UA_NODESET_SUFFIX)
> +HOST_UA_NODESET_DIR := $(HOST_BUILDDIR)/$(HOST_UA_NODESET)
> +
> +# ----------------------------------------------------------------------------
> +# Compile
> +# ----------------------------------------------------------------------------
> +
> +$(STATEDIR)/host-ua-nodeset.compile:
> + @$(call targetinfo)
> + @$(call touch)
> +
> +# ----------------------------------------------------------------------------
> +# Install
> +# ----------------------------------------------------------------------------
> +
> +$(STATEDIR)/host-ua-nodeset.install:
> + @$(call targetinfo)
> +
> + @$(call world/execute, HOST_UA_NODESET, \
> + mkdir -vp $(HOST_UA_NODESET_PKGDIR)/usr/share/ua-nodeset)
> + @$(call execute, HOST_UA_NODESET, \
> + cp -va $(HOST_BUILDDIR)/$(HOST_UA_NODESET)/* \
> + $(HOST_UA_NODESET_PKGDIR)/usr/share/ua-nodeset)
> +
> + @$(call touch)
>
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
next prev parent reply other threads:[~2020-03-27 9:52 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-03-18 15:27 [ptxdist] [PATCH v7 1/4] libssh2: version bump 1.8.1 -> 1.9.0 Ulrich Ölmann
2020-03-18 15:27 ` [ptxdist] [PATCH v7 2/4] mbedtls: new package Ulrich Ölmann
2020-03-18 15:27 ` [ptxdist] [PATCH v7 3/4] host-ua-nodeset: " Ulrich Ölmann
2020-03-27 9:52 ` Michael Olbrich [this message]
2020-03-18 15:27 ` [ptxdist] [PATCH v7 4/4] open62541: " Ulrich Ölmann
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=E1jHlfA-0000It-9i@dude02.lab.pengutronix.de \
--to=mol@pengutronix.de \
--cc=ptxdist@pengutronix.de \
--cc=u.oelmann@pengutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox