blob: 6c2b0b6d759bf272ba1aadcfceba712810071422 [file] [log] [blame]
Joel Stanley34c894e2015-12-06 22:54:23 +10301SUMMARY = "pflash programmer for OpenPower"
2DESCRIPTION = "pflash firmware programming tool for OpenPower machines"
3HOMEPAGE = "https://github.com/open-power"
4LICENSE = "Apache-2.0"
5
6SRC_URI += "git://github.com/open-power/skiboot.git"
7LIC_FILES_CHKSUM = "file://${S}/LICENCE;md5=3b83ef96387f14655fc854ddc3c6bd57"
8
Patrick Williams7fcf0de2016-04-01 14:58:06 -05009SRCREV = "skiboot-5.2.0"
10PV = "5.2.0"
Joel Stanley34c894e2015-12-06 22:54:23 +103011SRC_URI += "file://0001-pflash-Allow-building-under-yocto.patch"
12
13S = "${WORKDIR}/git"
14
15EXTRA_OEMAKE = 'CROSS_COMPILE=${TARGET_PREFIX} PFLASH_VERSION=${PV} V=1'
16
17do_compile () {
18 oe_runmake -C external/pflash all
19}
20
21do_install () {
22 oe_runmake -C external/pflash install DESTDIR=${D}
23}