libserialmodule: Async C/C++ Serial/COM + cross-OS
PATCH 1/1 libserialmodule: Async C/C++ Serial/COM + cross-OS
- Depend on: "simplelog-topic".
- The first version v1.0.3 is sent to OpenEmbedded.
--- .../libserialmodule/libserialmodule_1.0.3.bb | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 meta-oe/recipes-support/libserialmodule/libserialmodule_1.0.3.bb
meta-oe/recipes-support/libserialmodule/libserialmodule_1.0.3.bb new file +19 -0
@@ -0,0 +1,19 @@ +SUMMARY = "A library for Serial/COM" +DESCRIPTION = "Async C/C++ I/O with COM/Serial Port Library." +HOMEPAGE = "https://github.com/thuanalg/libserialmodule" + +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=22cdd382a6275cb4c2e75c517952ac7c" + +SRC_URI = "git://[email protected]/thuanalg/libserialmodule.git;branch=main;protocol=https;tag=v${PV}" + +SRCREV = "9cf920aa1d3ef1d4a4de9a19e695717a6f097894" + +S = "${WORKDIR}/git" + +inherit cmake +DEPENDS = "libsimplelog" + +# Specify any options you want to pass to cmake using EXTRA_OECMAKE: +EXTRA_OECMAKE = "-DUNIX_LINUX=1 -DMETA_OPENEMBEDDED=1" +
Signature · 1 line
2.47.1
Quoted 6 lines
-----Original Message-----
From: [email protected] <[email protected]> On Behalf Of Thu?n Nguy?n-Thái via lists.openembedded.org
Sent: den 5 maj 2025 13:19
To: [email protected]
Cc: Thuan Nguyen Thai <[email protected]>
Subject: [oe] [meta-oe][PATCH] libserialmodule: Async C/C++ Serial/COM + cross-OS
I suggest changing the subject to:
libserialmodule: Add recipe
And instead add information about what it does to the message body.
Quoted 21 lines
- Depend on: "simplelog-topic".
- The first version v1.0.3 is sent to OpenEmbedded.Signed-off-by Thuan Nguyen Thai <[email protected]>--- .../libserialmodule/libserialmodule_1.0.3.bb | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 meta-oe/recipes-support/libserialmodule/libserialmodule_1.0.3.bbmeta-oe/recipes-support/libserialmodule/libserialmodule_1.0.3.bb new file +5
-0@@ -0,0 +1,19 @@ +SUMMARY = "A library for Serial/COM" +DESCRIPTION = "Async C/C++ I/O with COM/Serial Port Library." +HOMEPAGE = "https://github.com/thuanalg/libserialmodule" + +LICENSE = "MIT"
meta-oe/recipes-support/libserialmodule/libserialmodule_1.0.3.bb line 15
Quoted 10 lines
meta-oe/recipes-support/libserialmodule/libserialmodule_1.0.3.bb new file +10
-0+LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=22cdd382a6275cb4c2e75c517952ac7c" + +SRC_URI = "git://[email protected]/thuanalg/libserialmodule.git;branch=main;protocol=https;tag=v${PV}" + +SRCREV = "9cf920aa1d3ef1d4a4de9a19e695717a6f097894" + +S = "${WORKDIR}/git" + +inherit cmake +DEPENDS = "libsimplelog"
Move the DEPENDS line up to between LIC_FILES_CHKSUM and SRC_URI to better match common practice.
meta-oe/recipes-support/libserialmodule/libserialmodule_1.0.3.bb line 17
Quoted 2 lines
meta-oe/recipes-support/libserialmodule/libserialmodule_1.0.3.bb new file +2
-0+ +# Specify any options you want to pass to cmake using EXTRA_OECMAKE:
That comment can be removed. It was added by the tooling to help you.
Quoted 4 lines
meta-oe/recipes-support/libserialmodule/libserialmodule_1.0.3.bb new file +2
-1+EXTRA_OECMAKE = "-DUNIX_LINUX=1 -DMETA_OPENEMBEDDED=1" + --2.47.1
//Peter