Message ID | 20250505111849.13909-1-nguyenthaithuanalg@gmail.com |
---|---|
State | Under Review |
Headers | show |
Series | [meta-oe] libserialmodule: Async C/C++ Serial/COM + cross-OS | expand |
> -----Original Message----- > From: openembedded-devel@lists.openembedded.org <openembedded-devel@lists.openembedded.org> On Behalf Of Thu?n Nguy?n-Thái via lists.openembedded.org > Sent: den 5 maj 2025 13:19 > To: openembedded-devel@lists.openembedded.org > Cc: Thuan Nguyen Thai <nguyenthaithuanalg@gmail.com> > 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. > > - Depend on: "simplelog-topic". > - The first version v1.0.3 is sent to OpenEmbedded. > > Signed-off-by: Thuan Nguyen Thai <nguyenthaithuanalg@gmail.com> > --- > .../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 > > diff --git a/meta-oe/recipes-support/libserialmodule/libserialmodule_1.0.3.bb b/meta-oe/recipes-support/libserialmodule/libserialmodule_1.0.3.bb > new file mode 100644 > index 0000000000..b7cce88a3e > --- /dev/null > +++ b/meta-oe/recipes-support/libserialmodule/libserialmodule_1.0.3.bb > @@ -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://git@github.com/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. > + > +# 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. > +EXTRA_OECMAKE = "-DUNIX_LINUX=1 -DMETA_OPENEMBEDDED=1" > + > -- > 2.47.1 //Peter
diff --git a/meta-oe/recipes-support/libserialmodule/libserialmodule_1.0.3.bb b/meta-oe/recipes-support/libserialmodule/libserialmodule_1.0.3.bb new file mode 100644 index 0000000000..b7cce88a3e --- /dev/null +++ b/meta-oe/recipes-support/libserialmodule/libserialmodule_1.0.3.bb @@ -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://git@github.com/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" +
- Depend on: "simplelog-topic". - The first version v1.0.3 is sent to OpenEmbedded. Signed-off-by: Thuan Nguyen Thai <nguyenthaithuanalg@gmail.com> --- .../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