blob: ab455b0eb1616719a4cfdb5a8ddd9e3b2e7c6325 [file] [log] [blame]
HOMEPAGE = "https://github.com/open-power"
LICENSE = "Apache-2.0"
SRC_URI += "git://github.com/open-power/skiboot.git"
SRC_URI += "file://0001-libffs-fix-gcc8-stringop-truncation-warnings.patch"
FILESEXTRAPATHS_append := "${THISDIR}/skiboot:"
LIC_FILES_CHKSUM = "file://${S}/LICENCE;md5=3b83ef96387f14655fc854ddc3c6bd57"
SRCREV = "30f8a6006de45fadedd80c98059b63d3874a5269"
PV = "6.0.13+git${SRCPV}"
S = "${WORKDIR}/git"
EXTRA_OEMAKE = "CROSS_COMPILE=${TARGET_PREFIX} SKIBOOT_VERSION=${PV} V=1"
SKIBOOT_SUBDIR ?= "external/${PN}"
do_compile() {
oe_runmake -C ${SKIBOOT_SUBDIR} all
}
# TODO: remove PREFIX=$prefix when updating to a version that has
# http://patchwork.ozlabs.org/patch/923741/ is merged upstream
do_install() {
oe_runmake -C ${SKIBOOT_SUBDIR} install DESTDIR=${D} prefix=/usr PREFIX=$prefix
}