Changeset View
Changeset View
Standalone View
Standalone View
head/sysutils/devcpu-data/files/Makefile
Property | Old Value | New Value |
---|---|---|
svn:eol-style | null | native \ No newline at end of property |
svn:keywords | null | FreeBSD=%H \ No newline at end of property |
svn:mime-type | null | text/plain \ No newline at end of property |
# $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 |