From ada27ac45fb6e6872de078d4a55185f31719e44b Mon Sep 17 00:00:00 2001 From: Bruce Ashfield Date: Thu, 27 Oct 2016 16:49:30 -0400 Subject: kernel: add linux-yocto-4.8 bbappend We want our options and features to apply to the 4.8 kernel as well as the older ones. Signed-off-by: Bruce Ashfield --- recipes-kernel/linux/linux-yocto_4.8.bbappend | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 recipes-kernel/linux/linux-yocto_4.8.bbappend (limited to 'recipes-kernel') diff --git a/recipes-kernel/linux/linux-yocto_4.8.bbappend b/recipes-kernel/linux/linux-yocto_4.8.bbappend new file mode 100644 index 00000000..f3be89ed --- /dev/null +++ b/recipes-kernel/linux/linux-yocto_4.8.bbappend @@ -0,0 +1,19 @@ +FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" + +SRC_URI += "file://xt-checksum.scc \ + file://ebtables.scc \ + file://vswitch.scc \ + file://lxc.scc \ + " +KERNEL_FEATURES_append = " features/kvm/qemu-kvm-enable.scc" + +KERNEL_MODULE_AUTOLOAD += "openvswitch" +KERNEL_MODULE_AUTOLOAD += "kvm" +KERNEL_MODULE_AUTOLOAD += "kvm-amd" +KERNEL_MODULE_AUTOLOAD += "kvm-intel" + +# aufs kernel support required for xen-image-minimal +KERNEL_FEATURES_append += "${@bb.utils.contains('DISTRO_FEATURES', 'aufs', ' features/aufs/aufs-enable.scc', '', d)}" + +# xen kernel support +SRC_URI += "${@bb.utils.contains('DISTRO_FEATURES', 'xen', ' file://xen.scc', '', d)}" -- cgit v1.2.3-54-g00ecf