freebsd-ports/sysutils/devcpu-data/files/Makefile
Sean Bruno 99a3ef5325 sysutils/devcpu-data
- Use new tool committed by Ed Maste of the FreeBSD Foundation to process
  Intel microcode files into a format cpucontrol can process.
- Assume maintainer role for the time being. (approved by portmgr)

Reviewed by:	delphij emaste
Approved by:	portmgr (rene)
Security:	yes
Sponsored by:	Limelight Networks and The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D15443
2018-05-18 01:28:23 +00:00

18 lines
366 B
Makefile

# $FreeBSD$
INTEL_UCODE= intel-ucode
OUTPUT_DIR= mcodes
all: ucode
ucode: ucode-split
mkdir -p $(OUTPUT_DIR)
cd ${OUTPUT_DIR} && \
for file in ../${INTEL_UCODE}/*; do \
../ucode-split $$file; \
done
# Use the host cc to compile ucode-split in case of cross-compile
ucode-split: ucode-split.c
cc ucode-split.c -o $@
clean:
rm -rf $(OUTPUT_DIR) ucode-split