Currently on the master branch builds of kvmtool are failing due to several missing headers. We need to only use the uapi headers and we also need the kvmtool upstream commit 1cc05b24bfe0 [x86/kvm-cpu.c: don't include <asm/msr-index.h>] to get the builds to work. So we can't do this as a fix and uprev and must do both at once in this single commit.
The upstream project does not have releases so using the latest commit and setting the version to 4.14.0 to reflect the kernel version we currently build and which tests were done with, when using Yocto master. Signed-off-by: Mark Asselstine <[email protected]> --- V2: * Add changes missed in V1 to set SRCREV and PV recipes-extended/kvmtool/kvmtool.bb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/recipes-extended/kvmtool/kvmtool.bb b/recipes-extended/kvmtool/kvmtool.bb index 33fec31..d487ee2 100644 --- a/recipes-extended/kvmtool/kvmtool.bb +++ b/recipes-extended/kvmtool/kvmtool.bb @@ -16,12 +16,12 @@ SRC_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/will/kvmtool.git \ file://0002-kvmtool-add-EXTRA_CFLAGS-variable.patch \ " -SRCREV = "3fea89a924511f9f8fe05a892098fad77c1eca0d" -PV = "3.18.0+git${SRCREV}" +SRCREV = "0e1882a49f81cb15d328ef83a78849c0ea26eecc" +PV = "4.14.0+git${SRCREV}" S = "${WORKDIR}/git" -EXTRA_OEMAKE='V=1 EXTRA_CFLAGS="-I${STAGING_KERNEL_DIR}/arch/${ARCH}/include -I${STAGING_KERNEL_BUILDDIR}/arch/${ARCH}/include/generated/"' +EXTRA_OEMAKE='V=1 EXTRA_CFLAGS="-I${STAGING_KERNEL_BUILDDIR}/include/generated -I${STAGING_KERNEL_BUILDDIR}/arch/${ARCH}/include/generated"' do_install() { install -d ${D}${bindir} -- 2.7.4 -- _______________________________________________ meta-virtualization mailing list [email protected] https://lists.yoctoproject.org/listinfo/meta-virtualization
