summaryrefslogtreecommitdiffstats
path: root/recipes/flashrom/flashrom_svn.bb
blob: f90b6ee8275352e78ffb530502726ff6060d4688 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
DESCRIPTION = "Flashrom is a simple utility for reading/writing BIOS chips"
HOMEPAGE = "http://www.coreboot.org/Flashrom"
LICENSE = "GPL"
DEPENDS = "zlib pciutils"

PV = "0.0+svnr${SRCPV}"
PR = "r0"

SRC_URI = " \
	svn://coreboot.org/repos/trunk/util/;module=flashrom \
	file://makefile-disable-strip.patch;patch=1 \
	"

S = "${WORKDIR}/${PN}"

LDFLAGS += "-lpci -lz"

do_install () {
	install -d "${D}${sbindir}"
	oe_runmake 'PREFIX=${D}/${prefix}' install
}