diff options
author | Sean Bruno <sbruno@FreeBSD.org> | 2018-01-17 16:04:27 +0000 |
---|---|---|
committer | Sean Bruno <sbruno@FreeBSD.org> | 2018-01-17 16:04:27 +0000 |
commit | f4323069fb9498815dba5db0366a80bc6253e67e (patch) | |
tree | aa73bba605174ac5f62b7575b3de3266e26aef27 /sysutils/devcpu-data/files/Makefile | |
parent | graphics/drm-next-kmod: Update to a newer version that includes a patch to fi... (diff) |
sysutils/devcpu-data: Migrate our microcode update on Intel to use precreated files.
Intel provides prefabricated per-cpu microcode update files. We no longer need
a tool to extract them from the legacy microcode.dat store. This matches
what upstream linux distributions are doing now. Tested on my Intel machines
here and updates still succeed.
Reviewed by: swills cem
Sponsored by: Limelight Networks
Differential Revision: https://reviews.freebsd.org/D13921
Notes
Notes:
svn path=/head/; revision=459266
Diffstat (limited to 'sysutils/devcpu-data/files/Makefile')
-rw-r--r-- | sysutils/devcpu-data/files/Makefile | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/sysutils/devcpu-data/files/Makefile b/sysutils/devcpu-data/files/Makefile deleted file mode 100644 index fc1c2586691c..000000000000 --- a/sysutils/devcpu-data/files/Makefile +++ /dev/null @@ -1,19 +0,0 @@ -AMD_UCODE_DIR= amd64-microcode-3.20171205.1 -AMD_UCODE= $(AMD_UCODE_DIR)/microcode_amd.bin \ - $(AMD_UCODE_DIR)/microcode_amd_fam15h.bin \ - $(AMD_UCODE_DIR)/microcode_amd_fam16h.bin \ - $(AMD_UCODE_DIR)/microcode_amd_fam17h.bin -INTEL_UCODE= microcode.dat -OUTPUT_DIR= mcodes -all: ucode -ucode: ucode-tool - mkdir -p $(OUTPUT_DIR) - ./ucode-tool -o $(OUTPUT_DIR) -i $(INTEL_UCODE) - mv ${AMD_UCODE} $(OUTPUT_DIR) - -# Use the host cc to compile ucode-tool in case of cross-compile -ucode-tool: ucode-tool.c - cc ucode-tool.c -o $@ - -clean: - rm -rf $(OUTPUT_DIR) ucode-tool |