From 6f23561e47e1b2e4469a2b185ba3ec3ce912857d Mon Sep 17 00:00:00 2001 From: Stefan Schmidt <stefan.schmidt@huawei.com> Date: Mon, 29 Aug 2022 19:57:18 +0200 Subject: [PATCH] modbus-testing: Add initial recipe for libmodbus examples The libmodbus project does not offer examples of library usage in their distribution. To make the life easier for Oniro integrators and developers we provide a basic set of examples to get a head-start when developing an application using libmodbus. The scope for these examples is Oniro, so the recipe here is not targeted at staging (I have no plans to upstream this), but at the meta-oniro-core layer. Signed-off-by: Stefan Schmidt <stefan.schmidt@huawei.com> --- .../modbus/modbus-testing_git.bb | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 meta-oniro-core/recipes-connectivity/modbus/modbus-testing_git.bb diff --git a/meta-oniro-core/recipes-connectivity/modbus/modbus-testing_git.bb b/meta-oniro-core/recipes-connectivity/modbus/modbus-testing_git.bb new file mode 100644 index 00000000..f5f1faba --- /dev/null +++ b/meta-oniro-core/recipes-connectivity/modbus/modbus-testing_git.bb @@ -0,0 +1,18 @@ +# SPDX-FileCopyrightText: Huawei Inc. +# +# SPDX-License-Identifier: Apache-2.0 + +SUMMARY = "Libmodbus testing examples" +SECTION = "net" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://LICENSE;md5=ef3dabb8f39493f4ea410bebc1d01755 \ + " +DEPENDS = "libmodbus" +SRCREV = "06daf9b6159167fe22c87603e8926ff63df5ce8d" +PV = "0.0+git${SRCPV}" + +SRC_URI = "git://gitlab.eclipse.org/eclipse/oniro-blueprints/energy-gateway/modbus-testing.git;protocol=https;branch=main" + +S = "${WORKDIR}/git" + +inherit meson pkgconfig -- GitLab