Skip to content
Permalink
Browse files

Revert "intel-microcode: create early load microcode image"

This reverts commit 022ffb5.

Signed-off-by: John Crispin <john@phrozen.org>
  • Loading branch information...
blogic committed Nov 27, 2018
1 parent 8ead5a7 commit 231d9d5327d161aed166949ea9328609927674ff
Showing with 6 additions and 8 deletions.
  1. +6 −8 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))

0 comments on commit 231d9d5

Please sign in to comment.
You can’t perform that action at this time.