blob: 13564794dd32562c1788d29bea8bd28379a763ec [file] [log] [blame]
Patrick Williamsbae754e2016-08-05 15:42:22 -05001HOMEPAGE = "https://github.com/open-power"
2LICENSE = "Apache-2.0"
3
Patrick Williams1c92c492016-09-14 11:08:16 -05004SRC_URI += "git://github.com/open-power/skiboot.git;nobranch=1"
Patrick Williams48392552016-08-05 15:44:07 -05005SRC_URI += "file://0001-external-Use-more-standard-PREFIX-vs-prefix.patch"
Patrick Williams48392552016-08-05 15:44:07 -05006
7FILESEXTRAPATHS_append := "${THISDIR}/skiboot:"
Patrick Williamsbae754e2016-08-05 15:42:22 -05008
9LIC_FILES_CHKSUM = "file://${S}/LICENCE;md5=3b83ef96387f14655fc854ddc3c6bd57"
10
Andrew Jeffery29ef5c92018-02-16 11:58:14 +103011SRCREV = "1d7da2e9b05b4995690abda54f853e0d84833af8"
12PV = "v5.10-rc3"
Patrick Williamsbae754e2016-08-05 15:42:22 -050013
14S = "${WORKDIR}/git"
15
16EXTRA_OEMAKE = "CROSS_COMPILE=${TARGET_PREFIX} SKIBOOT_VERSION=${PV} V=1"
17
18SKIBOOT_SUBDIR ?= "external/${PN}"
19
20do_compile() {
21 oe_runmake -C ${SKIBOOT_SUBDIR} all
22}
23
24do_install() {
Patrick Williams48392552016-08-05 15:44:07 -050025 oe_runmake -C ${SKIBOOT_SUBDIR} install DESTDIR=${D} PREFIX=/usr
Patrick Williamsbae754e2016-08-05 15:42:22 -050026}