Patrick Williams | bae754e | 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" |
| 5 | |
| 6 | LIC_FILES_CHKSUM = "file://${S}/LICENCE;md5=3b83ef96387f14655fc854ddc3c6bd57" |
| 7 | |
| 8 | SRCREV = "skiboot-5.3.0" |
| 9 | PV = "5.3.0" |
| 10 | |
| 11 | S = "${WORKDIR}/git" |
| 12 | |
| 13 | EXTRA_OEMAKE = "CROSS_COMPILE=${TARGET_PREFIX} SKIBOOT_VERSION=${PV} V=1" |
| 14 | |
| 15 | SKIBOOT_SUBDIR ?= "external/${PN}" |
| 16 | |
| 17 | do_compile() { |
| 18 | oe_runmake -C ${SKIBOOT_SUBDIR} all |
| 19 | } |
| 20 | |
| 21 | do_install() { |
| 22 | oe_runmake -C ${SKIBOOT_SUBDIR} install DESTDIR=${D} PREFIX=${D}/usr |
| 23 | } |
| 24 | |
| 25 | BBCLASSEXTEND = "native nativesdk" |