Sean Bruno 3b6e10de50 sysutils/devcpu-data: Revert back to legacy microcode.dat implementation.
Either there is a problem with the Intel supplied microcode files or
cpucontrol does not yet understand how to process a micrcode update file
with multiple entries. For now, abort.

Reviewed by:	swills
Sponsored by:	Limelight Networks
Differential Revision:	https://reviews.freebsd.org/D13987
2018-01-19 19:28:08 +00:00

15 lines
315 B
Makefile

# $FreeBSD$
INTEL_UCODE= microcode.dat
OUTPUT_DIR= mcodes
all: ucode
ucode: ucode-tool
mkdir -p $(OUTPUT_DIR)
./ucode-tool -o $(OUTPUT_DIR) -i $(INTEL_UCODE)
# 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