mirror of
https://github.com/hanwckf/immortalwrt-mt798x.git
synced 2025-01-10 03:09:08 +08:00
Revert "intel-microcode: create early load microcode image"
This reverts commit 022ffb56b2491fd7d8051ac6e6c7622ecc313d8f. Signed-off-by: John Crispin <john@phrozen.org>
This commit is contained in:
parent
8ead5a735d
commit
231d9d5327
@ -35,17 +35,15 @@ define Package/intel-microcode
|
|||||||
endef
|
endef
|
||||||
|
|
||||||
define Build/Compile
|
define Build/Compile
|
||||||
IUCODE_TOOL=$(STAGING_DIR)/../host/bin/iucode_tool \
|
IUCODE_TOOL=$(STAGING_DIR)/../host/bin/iucode_tool $(MAKE) -C $(PKG_BUILD_DIR)
|
||||||
$(MAKE) -C $(PKG_BUILD_DIR)
|
mkdir $(PKG_BUILD_DIR)/intel-ucode-ipkg
|
||||||
$(STAGING_DIR)/../host/bin/iucode_tool -q --mini-earlyfw \
|
$(STAGING_DIR)/../host/bin/iucode_tool -q \
|
||||||
--write-earlyfw=$(PKG_BUILD_DIR)/intel-ucode.cpio \
|
--write-firmware=$(PKG_BUILD_DIR)/intel-ucode-ipkg $(PKG_BUILD_DIR)/$(MICROCODE).bin
|
||||||
$(PKG_BUILD_DIR)/$(MICROCODE).bin
|
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/intel-microcode/install
|
define Package/intel-microcode/install
|
||||||
$(INSTALL_DIR) $(1)/boot
|
$(INSTALL_DIR) $(1)/lib/firmware/intel-ucode
|
||||||
$(INSTALL_DATA) $(PKG_BUILD_DIR)/intel-ucode.cpio \
|
$(INSTALL_DATA) $(PKG_BUILD_DIR)/intel-ucode-ipkg/* $(1)/lib/firmware/intel-ucode
|
||||||
$(1)/boot/intel-ucode.img
|
|
||||||
endef
|
endef
|
||||||
|
|
||||||
$(eval $(call BuildPackage,intel-microcode))
|
$(eval $(call BuildPackage,intel-microcode))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user