diff options
author | Dmitry Baryshkov <dbaryshkov@gmail.com> | 2022-06-01 14:08:16 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-06-24 23:57:46 +0100 |
commit | b9bffd76501790ab8b067f6e8e399a232fee607a (patch) | |
tree | f177193943aa7120150c80acf5e56f7bc0b63f21 /meta | |
parent | 0b84202a2b6d63ae65e7718bfbd4ae67ec062cd9 (diff) | |
download | poky-b9bffd76501790ab8b067f6e8e399a232fee607a.tar.gz |
linux-firmware: add support for building snapshots
In some cases it is useful to be able to test the snapshot of
linux-firmware (e.g. to test if the updated firmware works on the
particular hardware). Allow building the linux-firmware snapshots.
To switch to the most recent branch, add the following lines to the
local.conf file:
PREFERRED_VERSION_linux-firmware = "1:20220509+git%"
SRCREV:class-devupstream = "${AUTOREV}"
WHENCE_CHKSUM:class-devupstream:pn-linux-firmware = "4288aad55d189fa225d492526b8406d5"
(From OE-Core rev: 6654baf267003ac62bc886901e5197fc211239f4)
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit b023570ae1d239de14b50a0e827582d0e84ddf81)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-kernel/linux-firmware/linux-firmware_20220509.bb | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/meta/recipes-kernel/linux-firmware/linux-firmware_20220509.bb b/meta/recipes-kernel/linux-firmware/linux-firmware_20220509.bb index ec92cae2fa..b6b4043002 100644 --- a/meta/recipes-kernel/linux-firmware/linux-firmware_20220509.bb +++ b/meta/recipes-kernel/linux-firmware/linux-firmware_20220509.bb | |||
@@ -69,6 +69,7 @@ LICENSE = "\ | |||
69 | & WHENCE \ | 69 | & WHENCE \ |
70 | " | 70 | " |
71 | 71 | ||
72 | WHENCE_CHKSUM = "d3eb82686904888f8bbbe8d865371404" | ||
72 | LIC_FILES_CHKSUM = "file://LICENCE.Abilis;md5=b5ee3f410780e56711ad48eadc22b8bc \ | 73 | LIC_FILES_CHKSUM = "file://LICENCE.Abilis;md5=b5ee3f410780e56711ad48eadc22b8bc \ |
73 | file://LICENCE.adsp_sst;md5=615c45b91a5a4a9fe046d6ab9a2df728 \ | 74 | file://LICENCE.adsp_sst;md5=615c45b91a5a4a9fe046d6ab9a2df728 \ |
74 | file://LICENCE.agere;md5=af0133de6b4a9b2522defd5f188afd31 \ | 75 | file://LICENCE.agere;md5=af0133de6b4a9b2522defd5f188afd31 \ |
@@ -132,7 +133,7 @@ LIC_FILES_CHKSUM = "file://LICENCE.Abilis;md5=b5ee3f410780e56711ad48eadc22b8bc \ | |||
132 | file://LICENCE.xc4000;md5=0ff51d2dc49fce04814c9155081092f0 \ | 133 | file://LICENCE.xc4000;md5=0ff51d2dc49fce04814c9155081092f0 \ |
133 | file://LICENCE.xc5000;md5=1e170c13175323c32c7f4d0998d53f66 \ | 134 | file://LICENCE.xc5000;md5=1e170c13175323c32c7f4d0998d53f66 \ |
134 | file://LICENCE.xc5000c;md5=12b02efa3049db65d524aeb418dd87ca \ | 135 | file://LICENCE.xc5000c;md5=12b02efa3049db65d524aeb418dd87ca \ |
135 | file://WHENCE;md5=d3eb82686904888f8bbbe8d865371404 \ | 136 | file://WHENCE;md5=${WHENCE_CHKSUM} \ |
136 | " | 137 | " |
137 | 138 | ||
138 | # These are not common licenses, set NO_GENERIC_LICENSE for them | 139 | # These are not common licenses, set NO_GENERIC_LICENSE for them |
@@ -208,6 +209,11 @@ SRC_URI = "\ | |||
208 | file://0001-Makefile-replace-mkdir-by-install.patch \ | 209 | file://0001-Makefile-replace-mkdir-by-install.patch \ |
209 | " | 210 | " |
210 | 211 | ||
212 | BBCLASSEXTEND = "devupstream:target" | ||
213 | SRC_URI:class-devupstream = "git://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git;protocol=https;branch=main" | ||
214 | # Pin this to the 20220509 release, override this in local.conf | ||
215 | SRCREV:class-devupstream ?= "b19cbdca78ab2adfd210c91be15a22568e8b8cae" | ||
216 | |||
211 | SRC_URI[sha256sum] = "376e0b3d7b4f8aaa2abf7f5ab74803dcf14b06b94e3d841b1467cd9a2848255e" | 217 | SRC_URI[sha256sum] = "376e0b3d7b4f8aaa2abf7f5ab74803dcf14b06b94e3d841b1467cd9a2848255e" |
212 | 218 | ||
213 | inherit allarch | 219 | inherit allarch |