barebox: move version checksum to common .inc

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>
(From OE-Core rev: 9753d5cb44c2d648e19a2e7706590ca4390b2965)

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>
This commit is contained in:
Enrico Jörns
2024-11-25 12:10:12 +01:00
committed by Richard Purdie
parent 0f73caa1b2
commit f9c0a50128
3 changed files with 5 additions and 2 deletions

View 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"

View File

@@ -0,0 +1 @@
SRC_URI[sha256sum] = "955b20bfa7358732d2c0c09ccfd4c1a69087b7e2c610b16dee7442d71a5af88d"

View 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