Signed-off-by: Zoltan HERPAI <wigy...@uid0.hu>
---
 package/firmware/linux-firmware/x86.mk | 9 +++++++++
 1 file changed, 9 insertions(+)
 create mode 100644 package/firmware/linux-firmware/x86.mk

diff --git a/package/firmware/linux-firmware/x86.mk 
b/package/firmware/linux-firmware/x86.mk
new file mode 100644
index 0000000..2dfe7b0
--- /dev/null
+++ b/package/firmware/linux-firmware/x86.mk
@@ -0,0 +1,9 @@
+Package/amd64-microcode = $(call Package/firmware-default,AMD64 CPU microcode)
+define Package/amd64-microcode/install
+       $(INSTALL_DIR) $(1)/lib/firmware/amd-ucode
+       $(INSTALL_DATA) $(PKG_BUILD_DIR)/amd-ucode/microcode_amd.bin 
$(1)/lib/firmware/amd-ucode
+       $(INSTALL_DATA) $(PKG_BUILD_DIR)/amd-ucode/microcode_amd_fam15h.bin 
$(1)/lib/firmware/amd-ucode
+       $(INSTALL_DATA) $(PKG_BUILD_DIR)/amd-ucode/microcode_amd_fam16h.bin 
$(1)/lib/firmware/amd-ucode
+endef
+$(eval $(call BuildPackage,amd64-microcode))
+
-- 
1.9.1
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to