diff mbox series

[v3,2/2] barebox: move version checksum to common .inc

Message ID 20241125111012.1510756-2-ejo@pengutronix.de
State New
Headers show
Series [v3,1/2] barebox: upgrade 2024.09.0 -> 2024.10.0 | expand

Commit Message

Enrico Jörns Nov. 25, 2024, 11:10 a.m. UTC
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>
---
 meta/recipes-bsp/barebox/barebox-tools_2024.10.0.bb | 3 ++-
 meta/recipes-bsp/barebox/barebox-version.inc        | 1 +
 meta/recipes-bsp/barebox/barebox_2024.10.0.bb       | 3 ++-
 3 files changed, 5 insertions(+), 2 deletions(-)
 create mode 100644 meta/recipes-bsp/barebox/barebox-version.inc
diff mbox series

Patch

diff --git a/meta/recipes-bsp/barebox/barebox-tools_2024.10.0.bb b/meta/recipes-bsp/barebox/barebox-tools_2024.10.0.bb
index 386656f7ad..25d6a5c062 100644
--- a/meta/recipes-bsp/barebox/barebox-tools_2024.10.0.bb
+++ b/meta/recipes-bsp/barebox/barebox-tools_2024.10.0.bb
@@ -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
index 0000000000..d008c49f28
--- /dev/null
+++ b/meta/recipes-bsp/barebox/barebox-version.inc
@@ -0,0 +1 @@ 
+SRC_URI[sha256sum] = "955b20bfa7358732d2c0c09ccfd4c1a69087b7e2c610b16dee7442d71a5af88d"
diff --git a/meta/recipes-bsp/barebox/barebox_2024.10.0.bb b/meta/recipes-bsp/barebox/barebox_2024.10.0.bb
index c886fcfba3..aa63be4080 100644
--- a/meta/recipes-bsp/barebox/barebox_2024.10.0.bb
+++ b/meta/recipes-bsp/barebox/barebox_2024.10.0.bb
@@ -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