From: Enrico Jörns Date: Mon, 25 Nov 2024 11:10:12 +0000 (+0100) Subject: barebox: move version checksum to common .inc X-Git-Tag: yocto-5.2~1140 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=9753d5cb44c2d648e19a2e7706590ca4390b2965;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git 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 Signed-off-by: Enrico Jörns Signed-off-by: Mathieu Dubois-Briand Signed-off-by: Richard Purdie --- 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 386656f7ad3..25d6a5c0622 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 00000000000..d008c49f289 --- /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 c886fcfba3a..aa63be4080c 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