[Buildroot] [PATCH v1 1/1] package/linux-firmware: add support for nvidia files

Christian Stewart christian at paral.in
Sat Jun 6 03:48:39 UTC 2020


Signed-off-by: Christian Stewart <christian at paral.in>
---
 package/linux-firmware/Config.in         | 5 +++++
 package/linux-firmware/linux-firmware.mk | 5 +++++
 2 files changed, 10 insertions(+)

diff --git a/package/linux-firmware/Config.in b/package/linux-firmware/Config.in
index eba58014b6..2d729716aa 100644
--- a/package/linux-firmware/Config.in
+++ b/package/linux-firmware/Config.in
@@ -29,6 +29,11 @@ config BR2_PACKAGE_LINUX_FIRMWARE_I915
 	help
 	  Firmware files for the Intel i915 video cards.
 
+config BR2_PACKAGE_LINUX_FIRMWARE_NVIDIA
+	bool "Nvidia video card firmware"
+	help
+	  Firmware files for the Nvidia video cards.
+
 config BR2_PACKAGE_LINUX_FIRMWARE_RADEON
 	bool "AMD Radeon video card firmware"
 	help
diff --git a/package/linux-firmware/linux-firmware.mk b/package/linux-firmware/linux-firmware.mk
index b1c765dfae..2dbf13b94b 100644
--- a/package/linux-firmware/linux-firmware.mk
+++ b/package/linux-firmware/linux-firmware.mk
@@ -24,6 +24,11 @@ LINUX_FIRMWARE_DIRS += i915
 LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENSE.i915
 endif
 
+ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_NVIDIA),y)
+LINUX_FIRMWARE_DIRS += nvidia
+LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENSE.nvidia
+endif
+
 ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_RADEON),y)
 LINUX_FIRMWARE_DIRS += radeon
 LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENSE.radeon
-- 
2.27.0



More information about the buildroot mailing list