Joel Stanley | 34c894e | 2015-12-06 22:54:23 +1030 | [diff] [blame] | 1 | SUMMARY = "pflash programmer for OpenPower" |
| 2 | DESCRIPTION = "pflash firmware programming tool for OpenPower machines" |
| 3 | HOMEPAGE = "https://github.com/open-power" |
| 4 | LICENSE = "Apache-2.0" |
| 5 | |
| 6 | SRC_URI += "git://github.com/open-power/skiboot.git" |
Brad Bishop | f64e73c | 2016-06-08 23:06:31 -0400 | [diff] [blame] | 7 | |
Joel Stanley | 34c894e | 2015-12-06 22:54:23 +1030 | [diff] [blame] | 8 | LIC_FILES_CHKSUM = "file://${S}/LICENCE;md5=3b83ef96387f14655fc854ddc3c6bd57" |
| 9 | |
Patrick Williams | 7687a22 | 2016-07-28 05:42:24 -0500 | [diff] [blame] | 10 | SRCREV = "skiboot-5.3.0" |
| 11 | PV = "5.3.0" |
Joel Stanley | 34c894e | 2015-12-06 22:54:23 +1030 | [diff] [blame] | 12 | |
| 13 | S = "${WORKDIR}/git" |
| 14 | |
Patrick Williams | 3d1dee0 | 2016-07-17 06:22:09 -0500 | [diff] [blame] | 15 | EXTRA_OEMAKE = 'CROSS_COMPILE=${TARGET_PREFIX} SKIBOOT_VERSION=${PV} PFLASH_VERSION=${PV} V=1' |
Joel Stanley | 34c894e | 2015-12-06 22:54:23 +1030 | [diff] [blame] | 16 | |
| 17 | do_compile () { |
Brad Bishop | f64e73c | 2016-06-08 23:06:31 -0400 | [diff] [blame] | 18 | oe_runmake -C external/pflash all LINKAGE=dynamic |
Joel Stanley | 34c894e | 2015-12-06 22:54:23 +1030 | [diff] [blame] | 19 | } |
| 20 | |
| 21 | do_install () { |
Brad Bishop | f64e73c | 2016-06-08 23:06:31 -0400 | [diff] [blame] | 22 | oe_runmake -C external/pflash install LINKAGE=dynamic DESTDIR=${D} PREFIX=${D}/usr |
Joel Stanley | 34c894e | 2015-12-06 22:54:23 +1030 | [diff] [blame] | 23 | } |
Brad Bishop | f64e73c | 2016-06-08 23:06:31 -0400 | [diff] [blame] | 24 | |
| 25 | BBCLASSEXTEND = "native nativesdk" |