aboutsummaryrefslogtreecommitdiffstats
path: root/package/firmware/intel-microcode
diff options
context:
space:
mode:
authorJohn Crispin <john@phrozen.org>2018-11-27 18:58:37 +0100
committerJohn Crispin <john@phrozen.org>2018-11-27 18:58:37 +0100
commit231d9d5327d161aed166949ea9328609927674ff (patch)
treec053917f9e289ef80123d589630b67e2f0f5ca9e /package/firmware/intel-microcode
parent8ead5a735df6b999c8853f0bdad81164b1a0917b (diff)
downloadupstream-231d9d5327d161aed166949ea9328609927674ff.tar.gz
upstream-231d9d5327d161aed166949ea9328609927674ff.tar.bz2
upstream-231d9d5327d161aed166949ea9328609927674ff.zip
Revert "intel-microcode: create early load microcode image"
This reverts commit 022ffb56b2491fd7d8051ac6e6c7622ecc313d8f. Signed-off-by: John Crispin <john@phrozen.org>
Diffstat (limited to 'package/firmware/intel-microcode')
-rw-r--r--package/firmware/intel-microcode/Makefile14
1 files changed, 6 insertions, 8 deletions
diff --git a/package/firmware/intel-microcode/Makefile b/package/firmware/intel-microcode/Makefile
index 4bd47b087a..07db9b1f96 100644
--- a/package/firmware/intel-microcode/Makefile
+++ b/package/firmware/intel-microcode/Makefile
@@ -35,17 +35,15 @@ define Package/intel-microcode
endef
define Build/Compile
- IUCODE_TOOL=$(STAGING_DIR)/../host/bin/iucode_tool \
- $(MAKE) -C $(PKG_BUILD_DIR)
- $(STAGING_DIR)/../host/bin/iucode_tool -q --mini-earlyfw \
- --write-earlyfw=$(PKG_BUILD_DIR)/intel-ucode.cpio \
- $(PKG_BUILD_DIR)/$(MICROCODE).bin
+ IUCODE_TOOL=$(STAGING_DIR)/../host/bin/iucode_tool $(MAKE) -C $(PKG_BUILD_DIR)
+ mkdir $(PKG_BUILD_DIR)/intel-ucode-ipkg
+ $(STAGING_DIR)/../host/bin/iucode_tool -q \
+ --write-firmware=$(PKG_BUILD_DIR)/intel-ucode-ipkg $(PKG_BUILD_DIR)/$(MICROCODE).bin
endef
define Package/intel-microcode/install
- $(INSTALL_DIR) $(1)/boot
- $(INSTALL_DATA) $(PKG_BUILD_DIR)/intel-ucode.cpio \
- $(1)/boot/intel-ucode.img
+ $(INSTALL_DIR) $(1)/lib/firmware/intel-ucode
+ $(INSTALL_DATA) $(PKG_BUILD_DIR)/intel-ucode-ipkg/* $(1)/lib/firmware/intel-ucode
endef
$(eval $(call BuildPackage,intel-microcode))