All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-oe][PATCH] boardid: add recipe
@ 2026-09-19 10:10 João Henrique Ferreira de Freitas
  2026-09-19 15:14 ` [oe] " Ross Burton
  0 siblings, 1 reply; 2+ messages in thread
From: João Henrique Ferreira de Freitas @ 2026-09-19 10:10 UTC (permalink / raw)
  To: openembedded-devel; +Cc: João Henrique Ferreira de Freitas

Signed-off-by: João Henrique Ferreira de Freitas <joaohf@gmail.com>
---
 .../boardid/boardid_1.15.0.bb                 | 28 +++++++++++++++++++
 1 file changed, 28 insertions(+)
 create mode 100644 meta-oe/recipes-extended/boardid/boardid_1.15.0.bb

diff --git a/meta-oe/recipes-extended/boardid/boardid_1.15.0.bb b/meta-oe/recipes-extended/boardid/boardid_1.15.0.bb
new file mode 100644
index 0000000000..8e88ec9371
--- /dev/null
+++ b/meta-oe/recipes-extended/boardid/boardid_1.15.0.bb
@@ -0,0 +1,28 @@
+SUMMARY = "Print out a platform-specific board serial number"
+DESCRIPTION = "This program looks up a device-specific serial number and prints it. \
+The original use was to provide some non-changing and unique material for dynamically \
+creating device names on a local LAN. There are implementation specific boards as well \
+generic mechanisms for getting serial number."
+HOMEPAGE = "https://github.com/nerves-project/boardid"
+LICENSE = "Apache-2.0 AND CC-BY-4.0 AND CC0-1.0"
+LIC_FILES_CHKSUM = "file://LICENSES/Apache-2.0.txt;md5=c846ebb396f8b174b10ded4771514fcc \
+                    file://LICENSES/CC0-1.0.txt;md5=65d3616852dbf7b1a6d4b53b00626032 \
+                    file://LICENSES/CC-BY-4.0.txt;md5=9b33bbd06fb58995fb0e299cd38d1838"
+
+SRC_URI = "git://github.com/nerves-project/boardid/;protocol=https;branch=main"
+
+PV = "1.15.0"
+SRCREV = "2ccf22a8be22d7597e16fb225c1173876674f7a4"
+
+do_configure () {
+	:
+}
+
+do_compile () {
+	oe_runmake
+}
+
+do_install () {
+        install -d ${D}${bindir}
+        install -m 0755 ${S}/boardid ${D}${bindir}
+}


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [oe] [meta-oe][PATCH] boardid: add recipe
  2026-09-19 10:10 [meta-oe][PATCH] boardid: add recipe João Henrique Ferreira de Freitas
@ 2026-09-19 15:14 ` Ross Burton
  0 siblings, 0 replies; 2+ messages in thread
From: Ross Burton @ 2026-09-19 15:14 UTC (permalink / raw)
  To: joaohf@gmail.com; +Cc: openembedded-devel@lists.openembedded.org

On 19 Sep 2026, at 11:10, João Henrique Ferreira de Freitas via lists.openembedded.org <joaohf=gmail.com@lists.openembedded.org> wrote:
> +SRC_URI = "git://github.com/nerves-project/boardid/;protocol=https;branch=main"

Pass tag=v${PV} too here, so that the SRCREV is validated against the tag name.

> +PV = "1.15.0"

This is the default, as the version in the filename sets PV.  You can remove this.

> +do_configure () {
> + :
> +}

Remove, the default will try to do a clean if needed.

> +do_compile () {
> + oe_runmake
> +}

This is the default, so you can remove this too.

Cheers,
Ross

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-09-19 15:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-19 10:10 [meta-oe][PATCH] boardid: add recipe João Henrique Ferreira de Freitas
2026-09-19 15:14 ` [oe] " Ross Burton

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.