Revert "amd64-microcode: create early load microcode image"
This reverts commit 975019b3a7
.
Signed-off-by: John Crispin <john@phrozen.org>
This commit is contained in:
parent
731a12ad83
commit
30f30d3e11
1 changed files with 2 additions and 8 deletions
|
@ -35,17 +35,11 @@ define Build/Prepare
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Build/Compile
|
define Build/Compile
|
||||||
mkdir -p $(PKG_BUILD_DIR)/kernel/x86/microcode/
|
|
||||||
cat $(PKG_BUILD_DIR)/microcode_amd*.bin \
|
|
||||||
> $(PKG_BUILD_DIR)/kernel/x86/microcode/AuthenticAMD.bin
|
|
||||||
(cd $(PKG_BUILD_DIR); \
|
|
||||||
echo "kernel/x86/microcode/AuthenticAMD.bin" \
|
|
||||||
| cpio -o -H newc --reproducible > amd-ucode.cpio)
|
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/amd64-microcode/install
|
define Package/amd64-microcode/install
|
||||||
$(INSTALL_DIR) $(1)/boot
|
$(INSTALL_DIR) $(1)/lib/firmware/amd-ucode
|
||||||
$(INSTALL_DATA) $(PKG_BUILD_DIR)/amd-ucode.cpio $(1)/boot/amd-ucode.img
|
$(INSTALL_DATA) $(PKG_BUILD_DIR)/*.bin $(1)/lib/firmware/amd-ucode
|
||||||
endef
|
endef
|
||||||
|
|
||||||
$(eval $(call BuildPackage,amd64-microcode))
|
$(eval $(call BuildPackage,amd64-microcode))
|
||||||
|
|
Loading…
Reference in a new issue