Sean Bruno 094e28c74e sysutils/devcpu-data: Update AMD microcode, add cpu 17h microcode,
drop malfunctioning individual "AMD-XXX" files.

On the few machines that actually have microcode updates, chopping up the
microcode is incorrect and results in a failure to update.  Don't do that.

I personally run this on my FX-8150 and this has been tested by a few others.

Sponsored by:	 Limelight Networks
Differential Revision:	https://reviews.freebsd.org/D13832
2018-01-13 21:35:44 +00:00

36 lines
860 B
Makefile

# Created by: stas
# $FreeBSD$
PORTNAME= data
PORTVERSION= 1.14
CATEGORIES= sysutils
MASTER_SITES= https://downloadmirror.intel.com/27431/eng/:intel \
LOCAL/sbruno:amd
PKGNAMEPREFIX= devcpu-
DISTFILES= microcode-20171117.tgz:intel amd64-microcode_3.20171205.1.tar.xz:amd
MAINTAINER= clarkjc@runbox.com
COMMENT= Intel and AMD CPUs microcode updates
LICENSE= EULA
LICENSE_NAME= Intel Software License Agreement
LICENSE_FILE= ${FILESDIR}/LICENSE
LICENSE_PERMS= dist-mirror no-dist-sell pkg-mirror no-pkg-sell auto-accept
ONLY_FOR_ARCHS= amd64 i386
NO_ARCH= yes
NO_WRKSUBDIR= yes
DATADIR= ${PREFIX}/share/cpucontrol
USE_RC_SUBR= microcode_update
post-extract:
${CP} -p ${FILESDIR}/Makefile ${FILESDIR}/ucode-tool.c ${WRKSRC}
do-install:
${MKDIR} ${STAGEDIR}${DATADIR}/
${INSTALL_DATA} ${WRKSRC}/mcodes/* ${STAGEDIR}${DATADIR}/
.include <bsd.port.mk>