mirror of
https://git.yoctoproject.org/poky
synced 2026-04-05 08:02:25 +02:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
2bab5ec648
commit
166e5bdd7e
8
meta/recipes-bsp/barebox/barebox-common.inc
Normal file
8
meta/recipes-bsp/barebox/barebox-common.inc
Normal file
@@ -0,0 +1,8 @@
|
||||
HOMEPAGE = "https://barebox.org/"
|
||||
SECTION = "bootloaders"
|
||||
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=f5125d13e000b9ca1f0d3364286c4192"
|
||||
|
||||
PV = "2024.10.0"
|
||||
SRC_URI = "https://barebox.org/download/barebox-${PV}.tar.bz2"
|
||||
SRC_URI[sha256sum] = "955b20bfa7358732d2c0c09ccfd4c1a69087b7e2c610b16dee7442d71a5af88d"
|
||||
@@ -1,16 +1,11 @@
|
||||
SUMMARY = "barebox bootloader tools"
|
||||
HOMEPAGE = "https://barebox.org/"
|
||||
SECTION = "bootloaders"
|
||||
|
||||
require barebox-common.inc
|
||||
|
||||
LICENSE = "GPL-2.0-only"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=f5125d13e000b9ca1f0d3364286c4192"
|
||||
|
||||
DEPENDS = "bison-native flex-native libusb1"
|
||||
|
||||
SRC_URI = "https://barebox.org/download/barebox-${PV}.tar.bz2"
|
||||
|
||||
require barebox-version.inc
|
||||
|
||||
S = "${WORKDIR}/barebox-${PV}"
|
||||
B = "${WORKDIR}/build"
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
SRC_URI[sha256sum] = "955b20bfa7358732d2c0c09ccfd4c1a69087b7e2c610b16dee7442d71a5af88d"
|
||||
@@ -4,15 +4,9 @@ but also for initial hardware bringup and development. \
|
||||
Users should feel right at home with a shell with UNIX-like virtual file system access to hardware, \
|
||||
Linux kernel driver API for making driver porting easier, \
|
||||
and a subset of the POSIX C library for writing more command-line utilities."
|
||||
HOMEPAGE = "https://barebox.org/"
|
||||
SECTION = "bootloaders"
|
||||
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=f5125d13e000b9ca1f0d3364286c4192"
|
||||
|
||||
require barebox-common.inc
|
||||
inherit barebox
|
||||
|
||||
SRC_URI = "https://barebox.org/download/barebox-${PV}.tar.bz2 \
|
||||
file://0001-lib-lz4-use-lz4-instead-of-lz4c.patch \
|
||||
SRC_URI += "file://0001-lib-lz4-use-lz4-instead-of-lz4c.patch \
|
||||
"
|
||||
|
||||
require barebox-version.inc
|
||||
Reference in New Issue
Block a user