mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-21 06:33:41 +00:00
cf8ee49c9b
this patch consolidates the amd64-microcode (moved to linux-firmware.git, previously this was an extra debian source package download), amdgpu and radeon firmwares into a shared "amd" makefile. With the upcoming 20211216 linux-firmware bump, this will include a microcode update for ZEN 3 CPUs. Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
30 lines
884 B
Makefile
30 lines
884 B
Makefile
Package/amd64-microcode = $(call Package/firmware-default,AMD64 CPU microcode,@TARGET_x86)
|
|
define Package/amd64-microcode/install
|
|
$(INSTALL_DIR) $(1)/lib/firmware/amd-ucode
|
|
$(CP) \
|
|
$(PKG_BUILD_DIR)/amd-ucode/*.bin \
|
|
$(1)/lib/firmware/amd-ucode
|
|
endef
|
|
|
|
$(eval $(call BuildPackage,amd64-microcode))
|
|
|
|
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))
|
|
|
|
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))
|