Patrick Williams | 5a844b1 | 2016-08-05 15:42:22 -0500 | [diff] [blame] | 1 | HOMEPAGE = "https://github.com/open-power" |
| 2 | LICENSE = "Apache-2.0" |
| 3 | |
Patrick Williams | 1cb6558 | 2016-09-14 11:08:16 -0500 | [diff] [blame] | 4 | SRC_URI += "git://github.com/open-power/skiboot.git;nobranch=1" |
Patrick Williams | a1000e0 | 2016-08-05 15:44:07 -0500 | [diff] [blame] | 5 | SRC_URI += "file://0001-external-Use-more-standard-PREFIX-vs-prefix.patch" |
Patrick Williams | a1000e0 | 2016-08-05 15:44:07 -0500 | [diff] [blame] | 6 | |
| 7 | FILESEXTRAPATHS_append := "${THISDIR}/skiboot:" |
Patrick Williams | 5a844b1 | 2016-08-05 15:42:22 -0500 | [diff] [blame] | 8 | |
| 9 | LIC_FILES_CHKSUM = "file://${S}/LICENCE;md5=3b83ef96387f14655fc854ddc3c6bd57" |
| 10 | |
yuenn | 5f10a7d | 2017-08-03 11:28:14 -0700 | [diff] [blame] | 11 | SRCREV = "da6ff8b098765434f21880e81ed4e324dacd0f49" |
Joel Stanley | 6628718 | 2017-07-20 14:29:07 +0930 | [diff] [blame] | 12 | PV = "v5.7-rc2" |
Patrick Williams | 5a844b1 | 2016-08-05 15:42:22 -0500 | [diff] [blame] | 13 | |
| 14 | S = "${WORKDIR}/git" |
| 15 | |
| 16 | EXTRA_OEMAKE = "CROSS_COMPILE=${TARGET_PREFIX} SKIBOOT_VERSION=${PV} V=1" |
| 17 | |
| 18 | SKIBOOT_SUBDIR ?= "external/${PN}" |
| 19 | |
| 20 | do_compile() { |
| 21 | oe_runmake -C ${SKIBOOT_SUBDIR} all |
| 22 | } |
| 23 | |
| 24 | do_install() { |
Patrick Williams | a1000e0 | 2016-08-05 15:44:07 -0500 | [diff] [blame] | 25 | oe_runmake -C ${SKIBOOT_SUBDIR} install DESTDIR=${D} PREFIX=/usr |
Patrick Williams | 5a844b1 | 2016-08-05 15:42:22 -0500 | [diff] [blame] | 26 | } |