mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-20 14:13:16 +00:00
4e6212e62f
Build the amd64-microcode package on all architectures even if it only makes sense to use it on x86. If the package build is done by a builder not building for x86 it will not include the package otherwise. Link: https://github.com/openwrt/openwrt/pull/16031 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
30 lines
925 B
Makefile
30 lines
925 B
Makefile
Package/amd64-microcode = $(call Package/firmware-default,AMD64 CPU microcode,,LICENSE.amd-ucode)
|
|
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,,LICENSE.amdgpura)
|
|
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,,LICENSE.radeon)
|
|
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))
|