diff options
author | Max Krummenacher <max.oss.09@gmail.com> | 2020-10-20 01:06:08 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-11-12 13:07:52 +0000 |
commit | a832f8420811db31c3bc529594dc02eac6e61b06 (patch) | |
tree | 3a7cd36a834d547f70df470432da6f8d8b8758e4 | |
parent | 1cfd60eb84bd88e0b3e02274e3acc3a4a8881ff9 (diff) | |
download | poky-a832f8420811db31c3bc529594dc02eac6e61b06.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: 0671d049785708044491927ce65ef527d2603639)
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f03b7bc5f164afd9cbb0c2bd3a932bb85d968bf7)
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_20200817.bb | 24 |
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 | ||
479 | RDEPENDS_${PN}-netronome += "${PN}-netronome-license" | 482 | RDEPENDS_${PN}-netronome += "${PN}-netronome-license" |
480 | 483 | ||
484 | # For Nvidia | ||
485 | LICENSE_${PN}-nvidia-gpu = "Firmware-nvidia" | ||
486 | LICENSE_${PN}-nvidia-tegra = "Firmware-nvidia" | ||
487 | LICENSE_${PN}-nvidia-tegra-k1 = "Firmware-nvidia" | ||
488 | LICENSE_${PN}-nvidia-license = "Firmware-nvidia" | ||
489 | |||
490 | FILES_${PN}-nvidia-gpu = "${nonarch_base_libdir}/firmware/nvidia" | ||
491 | FILES_${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 | " | ||
496 | FILES_${PN}-nvidia-tegra-k1 = " \ | ||
497 | ${nonarch_base_libdir}/firmware/nvidia/tegra124 \ | ||
498 | ${nonarch_base_libdir}/firmware/nvidia/gk20a \ | ||
499 | " | ||
500 | FILES_${PN}-nvidia-license = "${nonarch_base_libdir}/firmware/LICENCE.nvidia" | ||
501 | |||
502 | RDEPENDS_${PN}-nvidia-gpu += "${PN}-nvidia-license" | ||
503 | RDEPENDS_${PN}-nvidia-tegra += "${PN}-nvidia-license" | ||
504 | |||
481 | # For rtl | 505 | # For rtl |
482 | LICENSE_${PN}-rtl8188 = "Firmware-rtlwifi_firmware" | 506 | LICENSE_${PN}-rtl8188 = "Firmware-rtlwifi_firmware" |
483 | LICENSE_${PN}-rtl8192cu = "Firmware-rtlwifi_firmware" | 507 | LICENSE_${PN}-rtl8192cu = "Firmware-rtlwifi_firmware" |