summaryrefslogtreecommitdiffstats
path: root/common/recipes-kernel/linux-firmware
diff options
context:
space:
mode:
authorCalifornia Sullivan <california.l.sullivan@intel.com>2017-09-11 21:26:12 (GMT)
committerSaul Wold <sgw@linux.intel.com>2017-09-12 15:37:53 (GMT)
commit62bef91df15a5ff6ba4ef0f9bd8e158659cea78f (patch)
tree66f12c3f0720a48f5fefa7c47b9a6599d3013dfa /common/recipes-kernel/linux-firmware
parent24da32ebb564663cb23932e261487a2a4e1c7ae2 (diff)
downloadmeta-intel-62bef91df15a5ff6ba4ef0f9bd8e158659cea78f.tar.gz
linux-firware_%.bbappend: multiple fixes
Fix yocto project compatibility issue: was using raw _appends, without a machineoverride. Fix not pinning to a specific commit ID. The firmware could be updated, which would change the hash and break the build temporarily. Fix naming. There are several similarly named firmware blobs (e.g., iwlwifi-8265-31) so not using the real name of the blob was confusing. Signed-off-by: California Sullivan <california.l.sullivan@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'common/recipes-kernel/linux-firmware')
-rw-r--r--common/recipes-kernel/linux-firmware/linux-firmware_%.bbappend12
1 files changed, 7 insertions, 5 deletions
diff --git a/common/recipes-kernel/linux-firmware/linux-firmware_%.bbappend b/common/recipes-kernel/linux-firmware/linux-firmware_%.bbappend
index 50836ee..f6968af 100644
--- a/common/recipes-kernel/linux-firmware/linux-firmware_%.bbappend
+++ b/common/recipes-kernel/linux-firmware/linux-firmware_%.bbappend
@@ -10,12 +10,14 @@
10# Note: keep these in sync when updating the iwlwifi_git.bb LinuxCore 10# Note: keep these in sync when updating the iwlwifi_git.bb LinuxCore
11# versions. 11# versions.
12 12
13SRC_URI_append = " https://git.kernel.org/pub/scm/linux/kernel/git/iwlwifi/linux-firmware.git/plain/iwlwifi-8000C-31.ucode;name=iwlwifi-8260-31" 13SRC_URI_append_intel-x86-common = " https://git.kernel.org/pub/scm/linux/kernel/git/iwlwifi/linux-firmware.git/plain/iwlwifi-8000C-31.ucode?id=${IWLWIFI_SRCREV};name=iwlwifi-8000C-31"
14 14
15SRC_URI[iwlwifi-8260-31.md5sum] = "428a84a780bbe864a7af6a6734c4b529" 15IWLWIFI_SRCREV = "942f14f65363f33c3fd8a06db58c8ccca0559335"
16SRC_URI[iwlwifi-8260-31.sha256sum] = "5a337c52f9d7a7cb5cb0a13c93232f4de742ed0debef757d68231bdb55455406"
17 16
18do_install_append() { 17SRC_URI[iwlwifi-8000C-31.md5sum] = "428a84a780bbe864a7af6a6734c4b529"
18SRC_URI[iwlwifi-8000C-31.sha256sum] = "5a337c52f9d7a7cb5cb0a13c93232f4de742ed0debef757d68231bdb55455406"
19
20do_install_append_intel-x86-common() {
19 # Copy the iwlwifi/LinuxCore required ucode for Intel Wireless 8260 21 # Copy the iwlwifi/LinuxCore required ucode for Intel Wireless 8260
20 cp ${WORKDIR}/iwlwifi-8000C-31.ucode ${D}/${nonarch_base_libdir}/firmware/ 22 cp ${WORKDIR}/iwlwifi-8000C-31.ucode\?id\=${IWLWIFI_SRCREV} ${D}/${nonarch_base_libdir}/firmware/iwlwifi-8000C-31.ucode
21} 23}