diff options
| author | Alexander Kanavin <alex@linutronix.de> | 2024-12-04 07:48:46 +0100 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-12-05 17:07:10 +0000 |
| commit | 166e5bdd7e6a587b2150840fa4bb4ced876d45e9 (patch) | |
| tree | 8cc31c7655c1d1fd729ec64cd2881299e431b55f /meta/recipes-bsp/barebox | |
| parent | 2bab5ec648660e359d883dde2b4fd34ed095008a (diff) | |
| download | poky-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.inc | 8 | ||||
| -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.inc | 1 | ||||
| -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 @@ | |||
| 1 | HOMEPAGE = "https://barebox.org/" | ||
| 2 | SECTION = "bootloaders" | ||
| 3 | |||
| 4 | LIC_FILES_CHKSUM = "file://COPYING;md5=f5125d13e000b9ca1f0d3364286c4192" | ||
| 5 | |||
| 6 | PV = "2024.10.0" | ||
| 7 | SRC_URI = "https://barebox.org/download/barebox-${PV}.tar.bz2" | ||
| 8 | SRC_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 @@ | |||
| 1 | SUMMARY = "barebox bootloader tools" | 1 | SUMMARY = "barebox bootloader tools" |
| 2 | HOMEPAGE = "https://barebox.org/" | 2 | |
| 3 | SECTION = "bootloaders" | 3 | require barebox-common.inc |
| 4 | 4 | ||
| 5 | LICENSE = "GPL-2.0-only" | 5 | LICENSE = "GPL-2.0-only" |
| 6 | LIC_FILES_CHKSUM = "file://COPYING;md5=f5125d13e000b9ca1f0d3364286c4192" | ||
| 7 | 6 | ||
| 8 | DEPENDS = "bison-native flex-native libusb1" | 7 | DEPENDS = "bison-native flex-native libusb1" |
| 9 | 8 | ||
| 10 | SRC_URI = "https://barebox.org/download/barebox-${PV}.tar.bz2" | ||
| 11 | |||
| 12 | require barebox-version.inc | ||
| 13 | |||
| 14 | S = "${WORKDIR}/barebox-${PV}" | 9 | S = "${WORKDIR}/barebox-${PV}" |
| 15 | B = "${WORKDIR}/build" | 10 | B = "${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 @@ | |||
| 1 | SRC_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. \ | |||
| 4 | Users should feel right at home with a shell with UNIX-like virtual file system access to hardware, \ | 4 | Users should feel right at home with a shell with UNIX-like virtual file system access to hardware, \ |
| 5 | Linux kernel driver API for making driver porting easier, \ | 5 | Linux kernel driver API for making driver porting easier, \ |
| 6 | and a subset of the POSIX C library for writing more command-line utilities." | 6 | and a subset of the POSIX C library for writing more command-line utilities." |
| 7 | HOMEPAGE = "https://barebox.org/" | ||
| 8 | SECTION = "bootloaders" | ||
| 9 | |||
| 10 | LIC_FILES_CHKSUM = "file://COPYING;md5=f5125d13e000b9ca1f0d3364286c4192" | ||
| 11 | 7 | ||
| 8 | require barebox-common.inc | ||
| 12 | inherit barebox | 9 | inherit barebox |
| 13 | 10 | ||
| 14 | SRC_URI = "https://barebox.org/download/barebox-${PV}.tar.bz2 \ | 11 | SRC_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 | |||
| 18 | require barebox-version.inc | ||
