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 | bb99d22 | 2022-01-24 15:55:09 -0600 | [diff] [blame^] | 4 | SRC_URI += "git://github.com/open-power/skiboot.git;branch=skiboot-6.5.x;protocol=https" |
Patrick Williams | a1000e0 | 2016-08-05 15:44:07 -0500 | [diff] [blame] | 5 | |
Adriana Kobylak | 8c6707f | 2021-08-06 17:35:36 +0000 | [diff] [blame] | 6 | FILESEXTRAPATHS:prepend := "${THISDIR}/skiboot:" |
Patrick Williams | 5a844b1 | 2016-08-05 15:42:22 -0500 | [diff] [blame] | 7 | |
| 8 | LIC_FILES_CHKSUM = "file://${S}/LICENCE;md5=3b83ef96387f14655fc854ddc3c6bd57" |
| 9 | |
Joel Stanley | 05eaa7c | 2019-11-05 11:00:30 +1030 | [diff] [blame] | 10 | SRCREV = "aff9301bb341b5387228e82036a7d72e519d8855" |
| 11 | PV = "6.5.1+git${SRCPV}" |
Patrick Williams | 5a844b1 | 2016-08-05 15:42:22 -0500 | [diff] [blame] | 12 | |
| 13 | S = "${WORKDIR}/git" |
| 14 | |
| 15 | EXTRA_OEMAKE = "CROSS_COMPILE=${TARGET_PREFIX} SKIBOOT_VERSION=${PV} V=1" |
| 16 | |
| 17 | SKIBOOT_SUBDIR ?= "external/${PN}" |
| 18 | |
| 19 | do_compile() { |
| 20 | oe_runmake -C ${SKIBOOT_SUBDIR} all |
| 21 | } |
| 22 | |
Joel Stanley | fb1f102 | 2018-06-01 12:44:32 +0930 | [diff] [blame] | 23 | # TODO: remove PREFIX=$prefix when updating to a version that has |
| 24 | # http://patchwork.ozlabs.org/patch/923741/ is merged upstream |
Patrick Williams | 5a844b1 | 2016-08-05 15:42:22 -0500 | [diff] [blame] | 25 | do_install() { |
Joel Stanley | fb1f102 | 2018-06-01 12:44:32 +0930 | [diff] [blame] | 26 | oe_runmake -C ${SKIBOOT_SUBDIR} install DESTDIR=${D} prefix=/usr PREFIX=$prefix |
Patrick Williams | 5a844b1 | 2016-08-05 15:42:22 -0500 | [diff] [blame] | 27 | } |
Alexander Filippov | 46c682d | 2020-07-20 18:40:41 +0300 | [diff] [blame] | 28 | |
| 29 | # libflash.so is a SONAME and is strongly required in the production |
Adriana Kobylak | 8c6707f | 2021-08-06 17:35:36 +0000 | [diff] [blame] | 30 | INSANE_SKIP:${PN}:append = "dev-so" |
Alexander Filippov | 46c682d | 2020-07-20 18:40:41 +0300 | [diff] [blame] | 31 | FILES_SOLIBSDEV = "" |
Adriana Kobylak | 8c6707f | 2021-08-06 17:35:36 +0000 | [diff] [blame] | 32 | FILES:${PN}:append = " ${libdir}/libflash.so" |