blob: 702d865125d278632b86fa385e6624592b363129 [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"
Joel Stanleyc5770662016-11-16 14:00:05 +10306SRC_URI += "file://0002-arch_flash_arm-Don-t-assume-mtd-partitions-are-short.patch"
Patrick Williams48392552016-08-05 15:44:07 -05007
8FILESEXTRAPATHS_append := "${THISDIR}/skiboot:"
Patrick Williamsbae754e2016-08-05 15:42:22 -05009
10LIC_FILES_CHKSUM = "file://${S}/LICENCE;md5=3b83ef96387f14655fc854ddc3c6bd57"
11
Joel Stanleyc5770662016-11-16 14:00:05 +103012SRCREV = "skiboot-5.4.0"
13PV = "5.4.0"
Patrick Williamsbae754e2016-08-05 15:42:22 -050014
15S = "${WORKDIR}/git"
16
17EXTRA_OEMAKE = "CROSS_COMPILE=${TARGET_PREFIX} SKIBOOT_VERSION=${PV} V=1"
18
19SKIBOOT_SUBDIR ?= "external/${PN}"
20
21do_compile() {
22 oe_runmake -C ${SKIBOOT_SUBDIR} all
23}
24
25do_install() {
Patrick Williams48392552016-08-05 15:44:07 -050026 oe_runmake -C ${SKIBOOT_SUBDIR} install DESTDIR=${D} PREFIX=/usr
Patrick Williamsbae754e2016-08-05 15:42:22 -050027}