summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Krummenacher <max.oss.09@gmail.com>2020-10-20 01:06:08 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-10-26 22:08:36 +0000
commita6d28c3b222511910505767e5efc9141675d3590 (patch)
treeac2864bfb7b5391ae736bc2dc035bee297115494
parent9c8783532c649c74468c41673a3cba4f2f4ce274 (diff)
downloadpoky-a6d28c3b222511910505767e5efc9141675d3590.tar.gz
linux-firmware: package nvidia firmware
Add packages for the firmware required by the Nvidia chipsets. Split it in Tegra K1, all other Tegras and desktop GPU packages. (From OE-Core rev: f03b7bc5f164afd9cbb0c2bd3a932bb85d968bf7) Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-kernel/linux-firmware/linux-firmware_20200817.bb24
1 files changed, 24 insertions, 0 deletions
diff --git a/meta/recipes-kernel/linux-firmware/linux-firmware_20200817.bb b/meta/recipes-kernel/linux-firmware/linux-firmware_20200817.bb
index 3d6644e504..0abd28c9fa 100644
--- a/meta/recipes-kernel/linux-firmware/linux-firmware_20200817.bb
+++ b/meta/recipes-kernel/linux-firmware/linux-firmware_20200817.bb
@@ -288,6 +288,9 @@ PACKAGES =+ "${PN}-ralink-license ${PN}-ralink \
288 ${PN}-adsp-sst-license ${PN}-adsp-sst \ 288 ${PN}-adsp-sst-license ${PN}-adsp-sst \
289 ${PN}-bnx2-mips \ 289 ${PN}-bnx2-mips \
290 ${PN}-liquidio \ 290 ${PN}-liquidio \
291 ${PN}-nvidia-license \
292 ${PN}-nvidia-tegra-k1 ${PN}-nvidia-tegra \
293 ${PN}-nvidia-gpu \
291 ${PN}-netronome-license ${PN}-netronome \ 294 ${PN}-netronome-license ${PN}-netronome \
292 ${PN}-qat ${PN}-qat-license \ 295 ${PN}-qat ${PN}-qat-license \
293 ${PN}-qcom-license \ 296 ${PN}-qcom-license \
@@ -478,6 +481,27 @@ FILES_${PN}-netronome = " \
478 481
479RDEPENDS_${PN}-netronome += "${PN}-netronome-license" 482RDEPENDS_${PN}-netronome += "${PN}-netronome-license"
480 483
484# For Nvidia
485LICENSE_${PN}-nvidia-gpu = "Firmware-nvidia"
486LICENSE_${PN}-nvidia-tegra = "Firmware-nvidia"
487LICENSE_${PN}-nvidia-tegra-k1 = "Firmware-nvidia"
488LICENSE_${PN}-nvidia-license = "Firmware-nvidia"
489
490FILES_${PN}-nvidia-gpu = "${nonarch_base_libdir}/firmware/nvidia"
491FILES_${PN}-nvidia-tegra = " \
492 ${nonarch_base_libdir}/firmware/nvidia/tegra* \
493 ${nonarch_base_libdir}/firmware/nvidia/gm20b \
494 ${nonarch_base_libdir}/firmware/nvidia/gp10b \
495"
496FILES_${PN}-nvidia-tegra-k1 = " \
497 ${nonarch_base_libdir}/firmware/nvidia/tegra124 \
498 ${nonarch_base_libdir}/firmware/nvidia/gk20a \
499"
500FILES_${PN}-nvidia-license = "${nonarch_base_libdir}/firmware/LICENCE.nvidia"
501
502RDEPENDS_${PN}-nvidia-gpu += "${PN}-nvidia-license"
503RDEPENDS_${PN}-nvidia-tegra += "${PN}-nvidia-license"
504
481# For rtl 505# For rtl
482LICENSE_${PN}-rtl8188 = "Firmware-rtlwifi_firmware" 506LICENSE_${PN}-rtl8188 = "Firmware-rtlwifi_firmware"
483LICENSE_${PN}-rtl8192cu = "Firmware-rtlwifi_firmware" 507LICENSE_${PN}-rtl8192cu = "Firmware-rtlwifi_firmware"