aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorJohn Crispin <john@phrozen.org>2018-11-27 18:58:33 +0100
committerJohn Crispin <john@phrozen.org>2018-11-27 18:58:33 +0100
commit30f30d3e11785efa23a2d4c61c0eb6f901c58ef3 (patch)
tree8e392d349f2f2b1ede83ae350698e134fce51345 /package
parent731a12ad83956c985b26ef246cda0858d4edabfd (diff)
downloadupstream-30f30d3e11785efa23a2d4c61c0eb6f901c58ef3.tar.gz
upstream-30f30d3e11785efa23a2d4c61c0eb6f901c58ef3.tar.bz2
upstream-30f30d3e11785efa23a2d4c61c0eb6f901c58ef3.zip
Revert "amd64-microcode: create early load microcode image"
This reverts commit 975019b3a755ec3b91864b60b45e5ee104075096. Signed-off-by: John Crispin <john@phrozen.org>
Diffstat (limited to 'package')
-rw-r--r--package/firmware/amd64-microcode/Makefile10
1 files changed, 2 insertions, 8 deletions
diff --git a/package/firmware/amd64-microcode/Makefile b/package/firmware/amd64-microcode/Makefile
index adf3352af2..4fd3d04610 100644
--- a/package/firmware/amd64-microcode/Makefile
+++ b/package/firmware/amd64-microcode/Makefile
@@ -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))