This makes it more obvious to update barebox and barebox-tools together
and should help the AUH to update both.

Suggested-by: Alexander Kanavin <[email protected]>
Signed-off-by: Enrico Jörns <[email protected]>
---
 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 --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
-- 
2.39.5

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#207736): 
https://lists.openembedded.org/g/openembedded-core/message/207736
Mute This Topic: https://lists.openembedded.org/mt/109769101/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to