]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
barebox: move version checksum to common .inc
authorEnrico Jörns <ejo@pengutronix.de>
Mon, 25 Nov 2024 11:10:12 +0000 (12:10 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 28 Nov 2024 12:26:57 +0000 (12:26 +0000)
This makes it more obvious to update barebox and barebox-tools together
and should help the AUH to update both.

Suggested-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Enrico Jörns <ejo@pengutronix.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-bsp/barebox/barebox-tools_2024.10.0.bb
meta/recipes-bsp/barebox/barebox-version.inc [new file with mode: 0644]
meta/recipes-bsp/barebox/barebox_2024.10.0.bb

index 386656f7ad38977c698683fc9657408f9965bbb4..25d6a5c06222bc76a3f943a3ff2c7182896a0516 100644 (file)
@@ -8,7 +8,8 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=f5125d13e000b9ca1f0d3364286c4192"
 DEPENDS = "bison-native flex-native libusb1"
 
 SRC_URI = "https://barebox.org/download/barebox-${PV}.tar.bz2"
-SRC_URI[sha256sum] = "955b20bfa7358732d2c0c09ccfd4c1a69087b7e2c610b16dee7442d71a5af88d"
+
+require barebox-version.inc
 
 S = "${WORKDIR}/barebox-${PV}"
 B = "${WORKDIR}/build"
diff --git a/meta/recipes-bsp/barebox/barebox-version.inc b/meta/recipes-bsp/barebox/barebox-version.inc
new file mode 100644 (file)
index 0000000..d008c49
--- /dev/null
@@ -0,0 +1 @@
+SRC_URI[sha256sum] = "955b20bfa7358732d2c0c09ccfd4c1a69087b7e2c610b16dee7442d71a5af88d"
index c886fcfba3a43d28dc6bcdccff115f7cffeaf8e5..aa63be4080c0d8f51c2772c2f44d013c0862d441 100644 (file)
@@ -14,4 +14,5 @@ inherit barebox
 SRC_URI = "https://barebox.org/download/barebox-${PV}.tar.bz2 \
            file://0001-lib-lz4-use-lz4-instead-of-lz4c.patch \
            "
-SRC_URI[sha256sum] = "955b20bfa7358732d2c0c09ccfd4c1a69087b7e2c610b16dee7442d71a5af88d"
+
+require barebox-version.inc