Skip to content

Commit

Permalink
Revert "amd64-microcode: create early load microcode image"
Browse files Browse the repository at this point in the history
This reverts commit 975019b.

Signed-off-by: John Crispin <[email protected]>
  • Loading branch information
blogic committed Nov 27, 2018
1 parent 731a12a commit 30f30d3
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions package/firmware/amd64-microcode/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -35,17 +35,11 @@ define Build/Prepare
endef

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

define Package/amd64-microcode/install
$(INSTALL_DIR) $(1)/boot
$(INSTALL_DATA) $(PKG_BUILD_DIR)/amd-ucode.cpio $(1)/boot/amd-ucode.img
$(INSTALL_DIR) $(1)/lib/firmware/amd-ucode
$(INSTALL_DATA) $(PKG_BUILD_DIR)/*.bin $(1)/lib/firmware/amd-ucode
endef

$(eval $(call BuildPackage,amd64-microcode))

0 comments on commit 30f30d3

Please sign in to comment.