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 | |
| 4 | SRC_URI += "git://github.com/open-power/skiboot.git" |
Patrick Williams | a1000e0 | 2016-08-05 15:44:07 -0500 | [diff] [blame^] | 5 | SRC_URI += "file://0001-external-Use-more-standard-PREFIX-vs-prefix.patch" |
| 6 | SRC_URI += "file://0002-external-Utilize-DESTDIR-in-shared-makefile.patch" |
| 7 | |
| 8 | FILESEXTRAPATHS_append := "${THISDIR}/skiboot:" |
Patrick Williams | 5a844b1 | 2016-08-05 15:42:22 -0500 | [diff] [blame] | 9 | |
| 10 | LIC_FILES_CHKSUM = "file://${S}/LICENCE;md5=3b83ef96387f14655fc854ddc3c6bd57" |
| 11 | |
| 12 | SRCREV = "skiboot-5.3.0" |
| 13 | PV = "5.3.0" |
| 14 | |
| 15 | S = "${WORKDIR}/git" |
| 16 | |
| 17 | EXTRA_OEMAKE = "CROSS_COMPILE=${TARGET_PREFIX} SKIBOOT_VERSION=${PV} V=1" |
| 18 | |
| 19 | SKIBOOT_SUBDIR ?= "external/${PN}" |
| 20 | |
| 21 | do_compile() { |
| 22 | oe_runmake -C ${SKIBOOT_SUBDIR} all |
| 23 | } |
| 24 | |
| 25 | do_install() { |
Patrick Williams | a1000e0 | 2016-08-05 15:44:07 -0500 | [diff] [blame^] | 26 | oe_runmake -C ${SKIBOOT_SUBDIR} install DESTDIR=${D} PREFIX=/usr |
Patrick Williams | 5a844b1 | 2016-08-05 15:42:22 -0500 | [diff] [blame] | 27 | } |
| 28 | |
| 29 | BBCLASSEXTEND = "native nativesdk" |