]> Untitled Git - hvrtc.git/commitdiff
Add Yocto recipe
authorHugo Villeneuve <hvilleneuve@dimonoff.com>
Wed, 5 Nov 2025 20:48:49 +0000 (15:48 -0500)
committerHugo Villeneuve <hvilleneuve@dimonoff.com>
Tue, 10 Mar 2026 19:34:07 +0000 (15:34 -0400)
Signed-off-by: Hugo Villeneuve <hvilleneuve@dimonoff.com>
Makefile.am
yocto/hvrtc_git.bb [new file with mode: 0644]

index 63bedb7be1586bdb58527025998acb51ec49b8d3..5c911a8eed6af91625b6716b323c5758d7b03280 100644 (file)
@@ -4,6 +4,9 @@ SUBDIRS = \
     src \
     doc
 
+## We want these in the dist tarball
+EXTRA_DIST = yocto
+
 ACLOCAL_AMFLAGS = -I m4
 
 LIBTOOL_MACROS = \
diff --git a/yocto/hvrtc_git.bb b/yocto/hvrtc_git.bb
new file mode 100644 (file)
index 0000000..e4dbecc
--- /dev/null
@@ -0,0 +1,19 @@
+DESCRIPTION = "Tool to configure/query RTC devices"
+LICENSE = "GPL-2.0-or-later"
+LIC_FILES_CHKSUM = "file://${COREBASE}/bitbake/doc/COPYING.GPL;md5=751419260aa954499f7abaabaa882bbe"
+
+PV = "0.0.1"
+
+SRCBRANCH = "master"
+SRCREV = "${AUTOREV}"
+SRC_URI = "git://git.hugovil.com/git/hvrtc.git;protocol=http;branch=${SRCBRANCH}"
+
+S = "${WORKDIR}/git"
+
+inherit autotools pkgconfig
+
+do_configure:prepend() {
+    saved_dir=$(pwd)
+    cd ${S}; ./autogen.sh
+    cd ${saved_dir}
+}