60ddf80dee
==New major user-visible features== * Support for new programmers: ** OpenMoko Neo1973/Neo FreeRunner debug board version 2 or 3, FTDI FT2232-based (r1231) ** Olimex ARM-USB-TINY, ARM-USB-TINY-H, ARM-USB-OCD, and ARM-USB-OCD-H, FTDI FT2232-based (r1331) ** Open Graphics Project development card, OGD1 (r1241) ** Angelbird Wings PCIe SSD/88SX7042 (r1258) ** ITE IT85xx embedded controllers (r1262) ** Intel NIC with parallel flash (r1297) * Dozens of added flash chips, chipsets, mainboards. * Improved user interface. * Reliability fixes for buggy hardware, buggy third party software and corner case spec conformance. * Improved Dediprog SF100 support. * Update port of flashrom package to Mac OS X using DirectHW. * Improved support for protection status printing and chip unlocking. * Fix and improve libpayload platform support. * Add support for more than one Super I/O or EC per machine. * Always read the flash chip before writing, for improved error checking and faster programming. * Enable write support on NVIDIA MCP6x/MCP7x. * Added SPI flash emulation capability to the dummy programmer. ==Infrastructural improvements and fixes== * Shutdown function registration * Improved error messages * Correctness fixes * Various workarounds for broken hardware * Code cleanups
47 lines
1.2 KiB
Makefile
47 lines
1.2 KiB
Makefile
# $NetBSD: Makefile,v 1.3 2011/07/29 13:35:42 jakllsch Exp $
|
|
#
|
|
|
|
DISTNAME= flashrom-0.9.4
|
|
PKGNAME= ${DISTNAME:S/-r/pre/}
|
|
CATEGORIES= sysutils
|
|
MASTER_SITES= http://download.flashrom.org/releases/
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
MAINTAINER= jakllsch@NetBSD.org
|
|
HOMEPAGE= http://www.flashrom.org/
|
|
COMMENT= Universal (coreboot/LinuxBIOS) flash utility
|
|
LICENSE= gnu-gpl-v2
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
USE_TOOLS+= gmake pkg-config
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64"
|
|
DEPENDS+= dmidecode-[0-9]*:../../sysutils/dmidecode
|
|
.endif
|
|
|
|
.if ${OPSYS} == "NetBSD"
|
|
|
|
SUBST_CLASSES+= pciutils
|
|
SUBST_FILES.pciutils= Makefile
|
|
SUBST_FILES.pciutils+= hwaccess.h
|
|
SUBST_MESSAGE.pciutils= adjusting pciutils headers
|
|
SUBST_STAGE.pciutils= pre-configure
|
|
SUBST_SED.pciutils+= -e 's,<pci/pci.h>,<pciutils/pci.h>,g'
|
|
|
|
LDFLAGS+= -lpci
|
|
CPPFLAGS+= -I/${PREFIX}/include
|
|
|
|
.endif
|
|
|
|
INSTALLATION_DIRS= sbin ${PKGMANDIR}/man8
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/flashrom ${DESTDIR}${PREFIX}/sbin/flashrom
|
|
${INSTALL_MAN} ${WRKSRC}/flashrom.8 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man8/flashrom.8
|
|
|
|
.include "../../devel/libftdi/buildlink3.mk"
|
|
.include "../../sysutils/pciutils/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|