On Thu, Jan 30 2020 at 14:57 +0100, Michael Olbrich <m.olbr...@pengutronix.de> 
wrote:
> On Tue, Jan 28, 2020 at 04:27:04PM +0100, Ulrich Ölmann wrote:
>> From: Björn Esser <b.es...@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.es...@pengutronix.de>
>> [uol: adjusted commit message and Kconfig menu file's help text]
>> Signed-off-by: Ulrich Ölmann <u.oelm...@pengutronix.de>
>> ---
>> 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=hosttools_noprompt
>> +
>> +config HOST_UA_NODESET
>> +    tristate
>
>       default y if ALLYES

Args, forgot this while preparing the just sent v3... will send a v4!

Ulrich


>> +    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 <b...@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)
>> +
>> +    @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.                           | Ulrich Ölmann               |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

Reply via email to