summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDmitry Baryshkov <dbaryshkov@gmail.com>2022-07-24 20:21:58 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-08-22 14:29:49 +0100
commit2340b1dbb9988a6f62e6acef1354b4fd320fc39c (patch)
tree09cfe1aa6be4eb142c009ff9f8b006c95898b59b
parent0b85e5d61073d0eeda22b146d7f366d1a86d6f47 (diff)
downloadpoky-2340b1dbb9988a6f62e6acef1354b4fd320fc39c.tar.gz
linux-firwmare: restore WHENCE_CHKSUM variable
Restore WHENCE_CHKSUM variable which is used to hold the WHENCE file checksum. It is necessary to allow easily overriding it from local.conf if the devupstream version is selected: PREFERRED_VERSION_linux-firmware = "1:20220708+git%" SRCREV:class-devupstream = "${AUTOREV}" WHENCE_CHKSUM:class-devupstream:pn-linux-firmware = "abf1077491eeb261ecdcb680a34fc059" Without the WHENCE_CHECKSUM one would need to manually patch the LIC_FILES_CHKSUM variable to change the checksum of WHENC (e.g. using the anonymous python function or remove expression). (From OE-Core rev: ba997f02b2cb86aeaa308873727a9280d1f88b5b) Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 554be2af1e0a03a2d23032d48afbbe0913a45409) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-kernel/linux-firmware/linux-firmware_20220708.bb5
1 files changed, 4 insertions, 1 deletions
diff --git a/meta/recipes-kernel/linux-firmware/linux-firmware_20220708.bb b/meta/recipes-kernel/linux-firmware/linux-firmware_20220708.bb
index e7a7e0828f..27146154be 100644
--- a/meta/recipes-kernel/linux-firmware/linux-firmware_20220708.bb
+++ b/meta/recipes-kernel/linux-firmware/linux-firmware_20220708.bb
@@ -128,8 +128,11 @@ LIC_FILES_CHKSUM = "file://LICENCE.Abilis;md5=b5ee3f410780e56711ad48eadc22b8bc \
128 file://LICENCE.xc4000;md5=0ff51d2dc49fce04814c9155081092f0 \ 128 file://LICENCE.xc4000;md5=0ff51d2dc49fce04814c9155081092f0 \
129 file://LICENCE.xc5000;md5=1e170c13175323c32c7f4d0998d53f66 \ 129 file://LICENCE.xc5000;md5=1e170c13175323c32c7f4d0998d53f66 \
130 file://LICENCE.xc5000c;md5=12b02efa3049db65d524aeb418dd87ca \ 130 file://LICENCE.xc5000c;md5=12b02efa3049db65d524aeb418dd87ca \
131 file://WHENCE;md5=def08711eb23ba967fb7e1f8cff66178 \ 131 file://WHENCE;md5=${WHENCE_CHKSUM} \
132 " 132 "
133# WHENCE checksum is defined separately to ease overriding it if
134# class-devupstream is selected.
135WHENCE_CHKSUM = "def08711eb23ba967fb7e1f8cff66178"
133 136
134# These are not common licenses, set NO_GENERIC_LICENSE for them 137# These are not common licenses, set NO_GENERIC_LICENSE for them
135# so that the license files will be copied from fetched source 138# so that the license files will be copied from fetched source