summaryrefslogtreecommitdiffstats
path: root/meta/recipes-bsp/barebox
diff options
context:
space:
mode:
authorAlexander Kanavin <alex@linutronix.de>2024-12-04 07:48:46 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2024-12-05 17:07:10 +0000
commit166e5bdd7e6a587b2150840fa4bb4ced876d45e9 (patch)
tree8cc31c7655c1d1fd729ec64cd2881299e431b55f /meta/recipes-bsp/barebox
parent2bab5ec648660e359d883dde2b4fd34ed095008a (diff)
downloadpoky-166e5bdd7e6a587b2150840fa4bb4ced876d45e9.tar.gz
barebox: add more common items into shared .inc with barebox-tools
barebox-tools needs to be updated in lockstep with barebox, and was already once erroneously updated to 2024.10 without barebox itself. Particularly, this change puts PV into .inc as well for both recipes. This will allow AUH to produce correct update patches, as barebox recipe is mutually exclusive with u-boot, and so isn't handled by AUH. mesa-gl recipe uses a similar trick with mesa. (From OE-Core rev: 555a637d467364f896b72436a83b118e29ee5550) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-bsp/barebox')
-rw-r--r--meta/recipes-bsp/barebox/barebox-common.inc8
-rw-r--r--meta/recipes-bsp/barebox/barebox-tools.bb (renamed from meta/recipes-bsp/barebox/barebox-tools_2024.10.0.bb)9
-rw-r--r--meta/recipes-bsp/barebox/barebox-version.inc1
-rw-r--r--meta/recipes-bsp/barebox/barebox.bb (renamed from meta/recipes-bsp/barebox/barebox_2024.10.0.bb)10
4 files changed, 12 insertions, 16 deletions
diff --git a/meta/recipes-bsp/barebox/barebox-common.inc b/meta/recipes-bsp/barebox/barebox-common.inc
new file mode 100644
index 0000000000..5dcdb70757
--- /dev/null
+++ b/meta/recipes-bsp/barebox/barebox-common.inc
@@ -0,0 +1,8 @@
1HOMEPAGE = "https://barebox.org/"
2SECTION = "bootloaders"
3
4LIC_FILES_CHKSUM = "file://COPYING;md5=f5125d13e000b9ca1f0d3364286c4192"
5
6PV = "2024.10.0"
7SRC_URI = "https://barebox.org/download/barebox-${PV}.tar.bz2"
8SRC_URI[sha256sum] = "955b20bfa7358732d2c0c09ccfd4c1a69087b7e2c610b16dee7442d71a5af88d"
diff --git a/meta/recipes-bsp/barebox/barebox-tools_2024.10.0.bb b/meta/recipes-bsp/barebox/barebox-tools.bb
index 25d6a5c062..2a117bc9c0 100644
--- a/meta/recipes-bsp/barebox/barebox-tools_2024.10.0.bb
+++ b/meta/recipes-bsp/barebox/barebox-tools.bb
@@ -1,16 +1,11 @@
1SUMMARY = "barebox bootloader tools" 1SUMMARY = "barebox bootloader tools"
2HOMEPAGE = "https://barebox.org/" 2
3SECTION = "bootloaders" 3require barebox-common.inc
4 4
5LICENSE = "GPL-2.0-only" 5LICENSE = "GPL-2.0-only"
6LIC_FILES_CHKSUM = "file://COPYING;md5=f5125d13e000b9ca1f0d3364286c4192"
7 6
8DEPENDS = "bison-native flex-native libusb1" 7DEPENDS = "bison-native flex-native libusb1"
9 8
10SRC_URI = "https://barebox.org/download/barebox-${PV}.tar.bz2"
11
12require barebox-version.inc
13
14S = "${WORKDIR}/barebox-${PV}" 9S = "${WORKDIR}/barebox-${PV}"
15B = "${WORKDIR}/build" 10B = "${WORKDIR}/build"
16 11
diff --git a/meta/recipes-bsp/barebox/barebox-version.inc b/meta/recipes-bsp/barebox/barebox-version.inc
deleted file mode 100644
index d008c49f28..0000000000
--- a/meta/recipes-bsp/barebox/barebox-version.inc
+++ /dev/null
@@ -1 +0,0 @@
1SRC_URI[sha256sum] = "955b20bfa7358732d2c0c09ccfd4c1a69087b7e2c610b16dee7442d71a5af88d"
diff --git a/meta/recipes-bsp/barebox/barebox_2024.10.0.bb b/meta/recipes-bsp/barebox/barebox.bb
index aa63be4080..dc9ae669d7 100644
--- a/meta/recipes-bsp/barebox/barebox_2024.10.0.bb
+++ b/meta/recipes-bsp/barebox/barebox.bb
@@ -4,15 +4,9 @@ but also for initial hardware bringup and development. \
4Users should feel right at home with a shell with UNIX-like virtual file system access to hardware, \ 4Users should feel right at home with a shell with UNIX-like virtual file system access to hardware, \
5Linux kernel driver API for making driver porting easier, \ 5Linux kernel driver API for making driver porting easier, \
6and a subset of the POSIX C library for writing more command-line utilities." 6and a subset of the POSIX C library for writing more command-line utilities."
7HOMEPAGE = "https://barebox.org/"
8SECTION = "bootloaders"
9
10LIC_FILES_CHKSUM = "file://COPYING;md5=f5125d13e000b9ca1f0d3364286c4192"
11 7
8require barebox-common.inc
12inherit barebox 9inherit barebox
13 10
14SRC_URI = "https://barebox.org/download/barebox-${PV}.tar.bz2 \ 11SRC_URI += "file://0001-lib-lz4-use-lz4-instead-of-lz4c.patch \
15 file://0001-lib-lz4-use-lz4-instead-of-lz4c.patch \
16 " 12 "
17
18require barebox-version.inc