[Buildroot] [PATCH 1/1] package/vsomeip: add vsomeip to bildroot
Brenke, Maik
Maik.Brenke at continental-corporation.com
Mon Oct 22 10:33:43 UTC 2018
Hello gentleman,
attached I want to commit a patch to add the vsomeip library to the buildroot system.
>From 21a47c26a09c1fd2c81f60269f0a07ff71d7baa4 Mon Sep 17 00:00:00 2001
From: Maik Brenke <maik.brenke at continental-corporation.com>
Date: Thu, 18 Oct 2018 12:16:47 +0200
Subject: [PATCH] add-vsomeip-library-(automotive-ethernet-protocol)
Signed-off-by: Maik Brenke <maik.brenke at continental-corporation.com>
---
package/Config.in | 1 +
package/vsomeip/Config.in | 25 +++++++++++++++++++++++++
package/vsomeip/vsomeip.mk | 13 +++++++++++++
3 files changed, 39 insertions(+)
create mode 100644 package/vsomeip/Config.in
create mode 100644 package/vsomeip/vsomeip.mk
diff --git a/package/Config.in b/package/Config.in
index d74603d..6b2cdac 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -1186,6 +1186,7 @@ menu "Networking"
source "package/sofia-sip/Config.in"
source "package/thrift/Config.in"
source "package/usbredir/Config.in"
+ source "package/vsomeip/Config.in"
source "package/wvstreams/Config.in"
source "package/zeromq/Config.in"
source "package/zmqpp/Config.in"
diff --git a/package/vsomeip/Config.in b/package/vsomeip/Config.in
new file mode 100644
index 0000000..9c04162
--- /dev/null
+++ b/package/vsomeip/Config.in
@@ -0,0 +1,25 @@
+config BR2_PACKAGE_VSOMEIP
+ bool "vsomeip"
+ depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8
+ depends on BR2_INSTALL_LIBSTDCPP
+ depends on BR2_TOOLCHAIN_HAS_THREADS # boost
+ depends on BR2_PACKAGE_BOOST_ARCH_SUPPORTS
+ select BR2_PACKAGE_BOOST
+ select BR2_PACKAGE_BOOST_SYSTEM
+ select BR2_PACKAGE_BOOST_THREAD
+ select BR2_PACKAGE_BOOST_LOG
+ help
+ The vsomeip stack implements the Scalable service-Oriented
+ MiddlewarE over IP (SOME/IP)) protocol (http://some-ip.com/).
+ The stack consists out of:
+
+ * a shared library for SOME/IP (`libvsomeip.so`)
+ * a second shared library for SOME/IP's service discovery
+ (`libvsomeip-sd.so`) which is loaded during runtime if
+ the service discovery is enabled.
+
+ https://github.com/GENIVI/vsomeip
+
+comment "vsomeip needs toolchain w/ C++, threads; gcc >= 4.8; Boost system, thread, log"
+ depends on BR2_PACKAGE_BOOST_ARCH_SUPPORTS
+ depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8
diff --git a/package/vsomeip/vsomeip.mk b/package/vsomeip/vsomeip.mk
new file mode 100644
index 0000000..81b25de
--- /dev/null
+++ b/package/vsomeip/vsomeip.mk
@@ -0,0 +1,13 @@
+################################################################################
+#
+# vsomeip
+#
+################################################################################
+
+VSOMEIP_VERSION = 2.10.21
+VSOMEIP_SITE = $(call github,GENIVI,vsomeip,$(VSOMEIP_VERSION))
+VSOMEIP_LICENSE = MPL
+VSOMEIP_LICENSE_FILES = LICENSE
+VSOMEIP_DEPENDENCIES = boost
+
+$(eval $(cmake-package))
--
2.7.4
Mit freundlichen Grüßen / Best regards
Maik Brenke
Embedded Linux Developer
BU ADAS
Continental
Division Chassis & Safety
Ringlerstrasse 17, 85057 Ingolstadt
Germany
Phone: +49-841-881-12401
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20181022/32b5b722/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-add-vsomeip-library-automotive-ethernet-protocol.patch
Type: text/x-patch
Size: 2740 bytes
Desc: 0001-add-vsomeip-library-automotive-ethernet-protocol.patch
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20181022/32b5b722/attachment-0001.bin>
More information about the buildroot
mailing list