projects
/
openwrt
/
staging
/
jow.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
4ee0551
)
Revert "amd64-microcode: create early load microcode image"
author
John Crispin
<john@phrozen.org>
Tue, 27 Nov 2018 17:58:33 +0000
(18:58 +0100)
committer
Jo-Philipp Wich
<jo@mein.io>
Tue, 18 Dec 2018 16:48:18 +0000
(17:48 +0100)
This reverts commit
975019b3a755ec3b91864b60b45e5ee104075096
.
Signed-off-by: John Crispin <john@phrozen.org>
(backported from
30f30d3e11785efa23a2d4c61c0eb6f901c58ef3
)
package/firmware/amd64-microcode/Makefile
patch
|
blob
|
history
diff --git
a/package/firmware/amd64-microcode/Makefile
b/package/firmware/amd64-microcode/Makefile
index adf3352af2e5d13b6e6d9c9908964b629818e768..4fd3d0461043328aee5f0852fdfc94f99cdf6da6 100644
(file)
--- a/
package/firmware/amd64-microcode/Makefile
+++ b/
package/firmware/amd64-microcode/Makefile
@@
-35,17
+35,11
@@
define Build/Prepare
endef
define Build/Compile
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
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))
endef
$(eval $(call BuildPackage,amd64-microcode))