linux-firmware: DRM: add amdgpu firmware
authorLucian Cristian <lucian.cristian@gmail.com>
Tue, 5 Feb 2019 22:08:10 +0000 (00:08 +0200)
committerHauke Mehrtens <hauke@hauke-m.de>
Sun, 17 Feb 2019 18:22:39 +0000 (19:22 +0100)
add firmware needed for amdgpu DRM display

Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
package/firmware/linux-firmware/amdgpu.mk [new file with mode: 0644]

diff --git a/package/firmware/linux-firmware/amdgpu.mk b/package/firmware/linux-firmware/amdgpu.mk
new file mode 100644 (file)
index 0000000..89f11e7
--- /dev/null
@@ -0,0 +1,9 @@
+Package/amdgpu-firmware = $(call Package/firmware-default,AMDGPU Video Driver firmware)
+define Package/amdgpu-firmware/install
+       $(INSTALL_DIR) $(1)/lib/firmware/amdgpu
+       $(CP) \
+               $(PKG_BUILD_DIR)/amdgpu/*.bin \
+               $(1)/lib/firmware/amdgpu
+endef
+
+$(eval $(call BuildPackage,amdgpu-firmware))