skiboot-gard: Add recipe and add to tarball
Change-Id: I250c891eb77dacabb8e76199591b7d5aac0e0122
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
diff --git a/common/recipes-bsp/skiboot/skiboot.inc b/common/recipes-bsp/skiboot/skiboot.inc
index 757d63d..3b5692c 100644
--- a/common/recipes-bsp/skiboot/skiboot.inc
+++ b/common/recipes-bsp/skiboot/skiboot.inc
@@ -2,6 +2,10 @@
LICENSE = "Apache-2.0"
SRC_URI += "git://github.com/open-power/skiboot.git"
+SRC_URI += "file://0001-external-Use-more-standard-PREFIX-vs-prefix.patch"
+SRC_URI += "file://0002-external-Utilize-DESTDIR-in-shared-makefile.patch"
+
+FILESEXTRAPATHS_append := "${THISDIR}/skiboot:"
LIC_FILES_CHKSUM = "file://${S}/LICENCE;md5=3b83ef96387f14655fc854ddc3c6bd57"
@@ -19,7 +23,7 @@
}
do_install() {
- oe_runmake -C ${SKIBOOT_SUBDIR} install DESTDIR=${D} PREFIX=${D}/usr
+ oe_runmake -C ${SKIBOOT_SUBDIR} install DESTDIR=${D} PREFIX=/usr
}
BBCLASSEXTEND = "native nativesdk"