diff --git a/sysutils/devcpu-data/files/Makefile b/sysutils/devcpu-data/files/Makefile index 820c3235ee67..975279ec2a14 100644 --- a/sysutils/devcpu-data/files/Makefile +++ b/sysutils/devcpu-data/files/Makefile @@ -1,18 +1,18 @@ INTEL_UCODE= Intel-Linux-Processor-Microcode-Data-Files-%%GH_TAGNAME%%/intel-ucode OUTPUT_DIR= mcodes all: ucode ucode: ucode-split mkdir -p $(OUTPUT_DIR) cd ${OUTPUT_DIR} && \ for file in \ ../${INTEL_UCODE}/[0-9,a-f][0-9,a-f]-[0-9,a-f][0-9,a-f]-[0-9,a-f][0-9,a-f]; 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 $@ + ${CC} ucode-split.c -o $@ clean: rm -rf $(OUTPUT_DIR) ucode-split