linux-firmware: DRM: add radeon firmware
authorLucian Cristian <lucian.cristian@gmail.com>
Sun, 3 Feb 2019 16:44:16 +0000 (18:44 +0200)
committerHauke Mehrtens <hauke@hauke-m.de>
Sun, 17 Feb 2019 18:22:39 +0000 (19:22 +0100)
add firmware needed for radeon DRM display

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

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