blob: 9f7bbffe33713ef8d7ebf69d06a11438cf2e514d [file] [log] [blame]
Patrick Williams5a844b12016-08-05 15:42:22 -05001HOMEPAGE = "https://github.com/open-power"
2LICENSE = "Apache-2.0"
3
Patrick Williamsbb99d222022-01-24 15:55:09 -06004SRC_URI += "git://github.com/open-power/skiboot.git;branch=skiboot-6.5.x;protocol=https"
Patrick Williamsa1000e02016-08-05 15:44:07 -05005
Adriana Kobylak8c6707f2021-08-06 17:35:36 +00006FILESEXTRAPATHS:prepend := "${THISDIR}/skiboot:"
Patrick Williams5a844b12016-08-05 15:42:22 -05007
8LIC_FILES_CHKSUM = "file://${S}/LICENCE;md5=3b83ef96387f14655fc854ddc3c6bd57"
9
Joel Stanley05eaa7c2019-11-05 11:00:30 +103010SRCREV = "aff9301bb341b5387228e82036a7d72e519d8855"
11PV = "6.5.1+git${SRCPV}"
Patrick Williams5a844b12016-08-05 15:42:22 -050012
13S = "${WORKDIR}/git"
14
15EXTRA_OEMAKE = "CROSS_COMPILE=${TARGET_PREFIX} SKIBOOT_VERSION=${PV} V=1"
16
17SKIBOOT_SUBDIR ?= "external/${PN}"
18
19do_compile() {
20 oe_runmake -C ${SKIBOOT_SUBDIR} all
21}
22
Joel Stanleyfb1f1022018-06-01 12:44:32 +093023# TODO: remove PREFIX=$prefix when updating to a version that has
24# http://patchwork.ozlabs.org/patch/923741/ is merged upstream
Patrick Williams5a844b12016-08-05 15:42:22 -050025do_install() {
Joel Stanleyfb1f1022018-06-01 12:44:32 +093026 oe_runmake -C ${SKIBOOT_SUBDIR} install DESTDIR=${D} prefix=/usr PREFIX=$prefix
Patrick Williams5a844b12016-08-05 15:42:22 -050027}
Alexander Filippov46c682d2020-07-20 18:40:41 +030028
29# libflash.so is a SONAME and is strongly required in the production
Adriana Kobylak8c6707f2021-08-06 17:35:36 +000030INSANE_SKIP:${PN}:append = "dev-so"
Alexander Filippov46c682d2020-07-20 18:40:41 +030031FILES_SOLIBSDEV = ""
Adriana Kobylak8c6707f2021-08-06 17:35:36 +000032FILES:${PN}:append = " ${libdir}/libflash.so"