blob: 8b47223eed8a0a6363d6144f393f58f0459c3a19 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
# $NetBSD: Makefile,v 1.6 2014/02/19 19:00:14 drochner Exp $
#
DISTNAME= microcode-20140122
PKGNAME= intel-microcode-netbsd-20140122
CATEGORIES= sysutils
MASTER_SITES= http://downloadmirror.intel.com/23574/eng/
EXTRACT_SUFX= .tgz
MAINTAINER= drochner@NetBSD.org
HOMEPAGE= http://downloadcenter.intel.com/Detail_Desc.aspx?DwnldID=23574
COMMENT= Firmware updates for Intel x86 processors
#LICENSE= # TODO: (see mk/license.mk)
ONLY_FOR_PLATFORM+= NetBSD-6.99.*-i386
ONLY_FOR_PLATFORM+= NetBSD-6.99.*-x86_64
WRKSRC= ${WRKDIR}
USE_LANGUAGES= c
FWDIR= libdata/firmware/cpu_x86_intel1
INSTALLATION_DIRS+= ${FWDIR}
RCD_SCRIPTS+= intel-microcode
post-extract:
${CP} ${FILESDIR}/extract.c ${WRKSRC}
do-build:
cd ${WRKSRC} && ${CC} extract.c -o extract
do-install:
cd ${DESTDIR}${PREFIX}/${FWDIR} && \
${WRKSRC}/extract ${WRKSRC}/microcode.dat
.include "../../mk/bsd.pkg.mk"
|