[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Minios-devel] [UNIKRAFT/LIBOPEN62541 PATCH v2 2/4] Add Makefile.uk


  • To: "minios-devel@xxxxxxxxxxxxxxxxxxxx" <minios-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: Vlad-Andrei BĂDOIU (78692) <vlad_andrei.badoiu@xxxxxxxxxxxxxxx>
  • Date: Wed, 20 Nov 2019 19:16:05 +0000
  • Accept-language: en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=stud.acs.upb.ro; dmarc=pass action=none header.from=stud.acs.upb.ro; dkim=pass header.d=stud.acs.upb.ro; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=S+cXanlpXuo5cRzTooOipYggXha5xQvbPqiA/JENbxc=; b=cFvU2pyiWlyefq6UGhtAUldJ3wK+YKdorKWKNT0Zjo+RS7vQqtCLbHxBTXkrrHa73O679UdNhf68+fXzUHSL4fBtVqdZwhcMyogtW3fO1PHXQ16uSUEHqMj7iyrCLkn8YoavIn/wjZmrzSWl5qtsQUqShsN/lXRcKSoDYujpF/ltPiR8w1XnfgBgLFHIDGuHbG+/H6+jSH9+AEpywInBdtDx96FhE6fwfey1IrmSfEhyCEYpZbHZ6UxpYmYloRL6nCCM+ukwcMwmrtigVMtsQ+LKpYxGmHfOrNRBmu6c2lAVX+ZX6DleMwT4E6i5kRjUCnf0xHGK3QzkaOrpU0yGRg==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=A01SL+Cccg0ac/hacTenrarx+o8kJCU+8mf4lZCovebVnCblEBVo1Qx7uGjXX4jnj0VuzFhO4pxAxzDoENLBlpDMauPZ1S129A0cF4Y+FlvI0E4YvmCFy+uSGKhUFjy8OteY6HbQWwLDcMWsLz5Q3Y+eOYn895VH7lzYUOsJnIu/DbaBm9E4MalLKmTpkEcYSNzYlZtVlEf3R3SnKa7FnfwZx6puye1OC5745YdGCkpgYsL1vzAvBIlY33DNkZsdRjLLl0N3cW57gz/pBeAIrqwO+BfeFQhcs3CyjTGBECk9V99gPW8L+dDgqHkUBrNLyp/lZXWCPnPT+f5hsjzy3g==
  • Authentication-results: spf=none (sender IP is ) smtp.mailfrom=vlad_andrei.badoiu@xxxxxxxxxxxxxxx;
  • Delivery-date: Wed, 20 Nov 2019 19:16:11 +0000
  • List-id: Mini-os development list <minios-devel.lists.xenproject.org>
  • Thread-index: AQHVn9I23Ah0/MZpf0Cinz+prl68XqeUbkKA
  • Thread-topic: [Minios-devel] [UNIKRAFT/LIBOPEN62541 PATCH v2 2/4] Add Makefile.uk

Thanks!

Reviewed-by: Vlad-Andrei Badoiu <vlad_andrei.badoiu@xxxxxxxxxxxxxxx>

On 20.11.2019 20:41, Felipe Huici wrote:
> Auto-generated headers and source files are copied from open62541 to
> this repo and slightly modified to build against Unikraft.
>
> Signed-off-by: Felipe Huici <felipe.huici@xxxxxxxxx>
> ---
>   Makefile.uk | 149 ++++++++++++++++++++++++++++++++++++++++++++++++++++
>   1 file changed, 149 insertions(+)
>   create mode 100644 Makefile.uk
>
> diff --git a/Makefile.uk b/Makefile.uk
> new file mode 100644
> index 0000000..8e498ab
> --- /dev/null
> +++ b/Makefile.uk
> @@ -0,0 +1,149 @@
> +#  libopen62541 Makefile.uk
> +#
> +#  Authors: Felipe Huici <felipe.huici@xxxxxxxxx>
> +#
> +#
> +#  Copyright (c) 2019, NEC Europe Ltd., NEC Corporation. All rights reserved.
> +#
> +#  Redistribution and use in source and binary forms, with or without
> +#  modification, are permitted provided that the following conditions
> +#  are met:
> +#
> +#  1. Redistributions of source code must retain the above copyright
> +#     notice, this list of conditions and the following disclaimer.
> +#  2. Redistributions in binary form must reproduce the above copyright
> +#     notice, this list of conditions and the following disclaimer in the
> +#     documentation and/or other materials provided with the distribution.
> +#  3. Neither the name of the copyright holder nor the names of its
> +#     contributors may be used to endorse or promote products derived from
> +#     this software without specific prior written permission.
> +#
> +#  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS 
> IS"
> +#  AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
> +#  IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
> +#  ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
> +#  LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
> +#  CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
> +#  SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
> +#  INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
> +#  CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
> +#  ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
> +#  POSSIBILITY OF SUCH DAMAGE.
> +#
> +#  THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
> +#
> +
> +################################################################################
> +# Library registration
> +################################################################################
> +$(eval $(call addlib_s,libopen62541,$(CONFIG_LIBOPEN62541)))
> +
> +################################################################################
> +# Original sources
> +################################################################################
> +LIBOPEN62541_VERSION=9f1cbfa96fd050220c86d3e5939d88cab1b680ce
> +LIBOPEN62541_URL=https://github.com/neonious/open62541/archive/$(LIBOPEN62541_VERSION).zip
> +
> +$(eval $(call 
> fetchas,libopen62541,$(LIBOPEN62541_URL),v$(LIBOPEN62541_VERSION).zip))
> +
> +################################################################################
> +# Helpers
> +################################################################################
> +LIBOPEN62541_EXTRACTED=$(LIBOPEN62541_ORIGIN)/open62541-$(LIBOPEN62541_VERSION)
> +
> +################################################################################
> +# Library includes
> +################################################################################
> +LIBOPEN62541_INCLUDES += -I$(LIBOPEN62541_EXTRACTED)/include
> +LIBOPEN62541_INCLUDES += -I$(LIBOPEN62541_EXTRACTED)/src
> +LIBOPEN62541_INCLUDES += -I$(LIBOPEN62541_EXTRACTED)/src/client
> +LIBOPEN62541_INCLUDES += -I$(LIBOPEN62541_EXTRACTED)/arch
> +LIBOPEN62541_INCLUDES += -I$(LIBOPEN62541_EXTRACTED)/deps
> +LIBOPEN62541_INCLUDES += -I$(LIBOPEN62541_EXTRACTED)/plugins/include
> +LIBOPEN62541_INCLUDES += -I$(LIBOPEN62541_BASE)/include
> +
> +CINCLUDES-$(CONFIG_LIBOPEN62541)   += $(LIBOPEN62541_INCLUDES)
> +CXXINCLUDES-$(CONFIG_LIBOPEN62541) += $(LIBOPEN62541_INCLUDES)
> +
> +################################################################################
> +# Global flags
> +################################################################################
> +LIBOPEN62541_SUPPRESS_FLAGS += -Wno-unused-parameter              \
> +                            -Wno-strict-aliasing               \
> +                            -Wno-implicit-function-declaration \
> +                            -Wno-cast-function-type
> +
> +LIBOPEN62541_CFLAGS-y   += $(LIBOPEN62541_SUPPRESS_FLAGS) \
> +                        -DUA_ARCHITECTURE_POSIX
> +LIBOPEN62541_CXXFLAGS-y += $(LIBOPEN62541_SUPPRESS_FLAGS) \
> +                        -DUA_ARCHITECTURE_POSIX        \
> +                        -Wno-conversion-null
> +
> +################################################################################
> +# Sources
> +################################################################################
> +LIBOPEN62541_SRCS-y += $(LIBOPEN62541_BASE)/glue.c
> +LIBOPEN62541_SRCS-y += $(LIBOPEN62541_BASE)/statuscodes.c
> +LIBOPEN62541_SRCS-y += $(LIBOPEN62541_BASE)/namespace0_generated.c
> +LIBOPEN62541_SRCS-y += $(LIBOPEN62541_EXTRACTED)/arch/network_tcp.c
> +LIBOPEN62541_SRCS-y += $(LIBOPEN62541_EXTRACTED)/arch/posix/ua_clock.c
> +LIBOPEN62541_SRCS-y += 
> $(LIBOPEN62541_EXTRACTED)/arch/posix/ua_architecture_functions.c
> +LIBOPEN62541_SRCS-y += $(LIBOPEN62541_EXTRACTED)/deps/atoi.c
> +LIBOPEN62541_SRCS-y += $(LIBOPEN62541_EXTRACTED)/deps/base64.c
> +LIBOPEN62541_SRCS-y += $(LIBOPEN62541_EXTRACTED)/deps/itoa.c
> +LIBOPEN62541_SRCS-y += $(LIBOPEN62541_EXTRACTED)/deps/jsmn/jsmn.c
> +LIBOPEN62541_SRCS-y += $(LIBOPEN62541_EXTRACTED)/deps/libc_time.c
> +LIBOPEN62541_SRCS-y += $(LIBOPEN62541_EXTRACTED)/deps/pcg_basic.c
> +LIBOPEN62541_SRCS-y += $(LIBOPEN62541_EXTRACTED)/deps/string_escape.c
> +LIBOPEN62541_SRCS-y += $(LIBOPEN62541_EXTRACTED)/src/ua_connection.c
> +LIBOPEN62541_SRCS-y += $(LIBOPEN62541_EXTRACTED)/src/ua_securechannel.c
> +LIBOPEN62541_SRCS-y += $(LIBOPEN62541_EXTRACTED)/src/ua_timer.c
> +LIBOPEN62541_SRCS-y += $(LIBOPEN62541_EXTRACTED)/src/ua_types.c
> +LIBOPEN62541_SRCS-y += 
> $(LIBOPEN62541_EXTRACTED)/src/ua_types_encoding_binary.c
> +LIBOPEN62541_SRCS-y += $(LIBOPEN62541_EXTRACTED)/src/ua_types_encoding_json.c
> +LIBOPEN62541_SRCS-y += $(LIBOPEN62541_EXTRACTED)/src/ua_util.c
> +LIBOPEN62541_SRCS-y += $(LIBOPEN62541_EXTRACTED)/src/ua_workqueue.c
> +LIBOPEN62541_SRCS-y += $(LIBOPEN62541_EXTRACTED)/src/client/ua_client.c
> +LIBOPEN62541_SRCS-y += 
> $(LIBOPEN62541_EXTRACTED)/src/client/ua_client_connect.c
> +LIBOPEN62541_SRCS-y += 
> $(LIBOPEN62541_EXTRACTED)/src/client/ua_client_connect_async.c
> +LIBOPEN62541_SRCS-y += 
> $(LIBOPEN62541_EXTRACTED)/src/client/ua_client_discovery.c
> +LIBOPEN62541_SRCS-y += 
> $(LIBOPEN62541_EXTRACTED)/src/client/ua_client_highlevel.c
> +LIBOPEN62541_SRCS-y += 
> $(LIBOPEN62541_EXTRACTED)/src/client/ua_client_subscriptions.c
> +LIBOPEN62541_SRCS-y += 
> $(LIBOPEN62541_EXTRACTED)/src/client/ua_client_worker.c
> +LIBOPEN62541_SRCS-y += 
> $(LIBOPEN62541_EXTRACTED)/src/server/ua_discovery_manager.c
> +LIBOPEN62541_SRCS-y += $(LIBOPEN62541_EXTRACTED)/src/server/ua_nodes.c
> +LIBOPEN62541_SRCS-y += 
> $(LIBOPEN62541_EXTRACTED)/src/server/ua_securechannel_manager.c
> +LIBOPEN62541_SRCS-y += $(LIBOPEN62541_EXTRACTED)/src/server/ua_server.c
> +LIBOPEN62541_SRCS-y += 
> $(LIBOPEN62541_EXTRACTED)/src/server/ua_server_binary.c
> +LIBOPEN62541_SRCS-y += 
> $(LIBOPEN62541_EXTRACTED)/src/server/ua_server_config.c
> +LIBOPEN62541_SRCS-y += 
> $(LIBOPEN62541_EXTRACTED)/src/server/ua_server_discovery.c
> +LIBOPEN62541_SRCS-y += 
> $(LIBOPEN62541_EXTRACTED)/src/server/ua_server_discovery_mdns.c
> +LIBOPEN62541_SRCS-y += $(LIBOPEN62541_EXTRACTED)/src/server/ua_server_ns0.c
> +LIBOPEN62541_SRCS-y += $(LIBOPEN62541_EXTRACTED)/src/server/ua_server_utils.c
> +LIBOPEN62541_SRCS-y += 
> $(LIBOPEN62541_EXTRACTED)/src/server/ua_services_attribute.c
> +LIBOPEN62541_SRCS-y += 
> $(LIBOPEN62541_EXTRACTED)/src/server/ua_services_discovery.c
> +LIBOPEN62541_SRCS-y += 
> $(LIBOPEN62541_EXTRACTED)/src/server/ua_services_discovery_multicast.c
> +LIBOPEN62541_SRCS-y += 
> $(LIBOPEN62541_EXTRACTED)/src/server/ua_services_method.c
> +LIBOPEN62541_SRCS-y += 
> $(LIBOPEN62541_EXTRACTED)/src/server/ua_services_monitoreditem.c
> +LIBOPEN62541_SRCS-y += 
> $(LIBOPEN62541_EXTRACTED)/src/server/ua_services_nodemanagement.c
> +LIBOPEN62541_SRCS-y += 
> $(LIBOPEN62541_EXTRACTED)/src/server/ua_services_securechannel.c
> +LIBOPEN62541_SRCS-y += 
> $(LIBOPEN62541_EXTRACTED)/src/server/ua_services_session.c
> +LIBOPEN62541_SRCS-y += 
> $(LIBOPEN62541_EXTRACTED)/src/server/ua_services_subscription.c
> +LIBOPEN62541_SRCS-y += 
> $(LIBOPEN62541_EXTRACTED)/src/server/ua_services_view.c
> +LIBOPEN62541_SRCS-y += $(LIBOPEN62541_EXTRACTED)/src/server/ua_session.c
> +LIBOPEN62541_SRCS-y += 
> $(LIBOPEN62541_EXTRACTED)/src/server/ua_session_manager.c
> +LIBOPEN62541_SRCS-y += $(LIBOPEN62541_EXTRACTED)/src/server/ua_subscription.c
> +LIBOPEN62541_SRCS-y += 
> $(LIBOPEN62541_EXTRACTED)/src/server/ua_subscription_datachange.c
> +LIBOPEN62541_SRCS-y += 
> $(LIBOPEN62541_EXTRACTED)/src/server/ua_subscription_events.c
> +LIBOPEN62541_SRCS-y += 
> $(LIBOPEN62541_EXTRACTED)/src/server/ua_subscription_monitoreditem.c
> +LIBOPEN62541_SRCS-y += 
> $(LIBOPEN62541_EXTRACTED)/plugins/ua_accesscontrol_default.c
> +LIBOPEN62541_SRCS-y += $(LIBOPEN62541_EXTRACTED)/plugins/ua_config_default.c
> +LIBOPEN62541_SRCS-y += $(LIBOPEN62541_EXTRACTED)/plugins/ua_debug_dump_pkgs.c
> +LIBOPEN62541_SRCS-y += $(LIBOPEN62541_EXTRACTED)/plugins/ua_log_stdout.c
> +LIBOPEN62541_SRCS-y += 
> $(LIBOPEN62541_EXTRACTED)/plugins/ua_nodestore_default.c
> +LIBOPEN62541_SRCS-y += $(LIBOPEN62541_EXTRACTED)/plugins/ua_pki_default.c
> +LIBOPEN62541_SRCS-y += 
> $(LIBOPEN62541_EXTRACTED)/plugins/securityPolicies/securitypolicy_mbedtls_common.c
> +LIBOPEN62541_SRCS-y += 
> $(LIBOPEN62541_EXTRACTED)/plugins/securityPolicies/ua_securitypolicy_basic128rsa15.c
> +LIBOPEN62541_SRCS-y += 
> $(LIBOPEN62541_EXTRACTED)/plugins/securityPolicies/ua_securitypolicy_basic256.c
> +LIBOPEN62541_SRCS-y += 
> $(LIBOPEN62541_EXTRACTED)/plugins/securityPolicies/ua_securitypolicy_basic256sha256.c
> +LIBOPEN62541_SRCS-y += 
> $(LIBOPEN62541_EXTRACTED)/plugins/securityPolicies/ua_securitypolicy_none.c
_______________________________________________
Minios-devel mailing list
Minios-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/minios-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.