Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 1 | FILESEXTRAPATHS_prepend := "${THISDIR}/linux-yocto:" |
| 2 | |
| 3 | SRC_URI += "file://xt-checksum.scc \ |
| 4 | file://ebtables.scc \ |
| 5 | file://vswitch.scc \ |
| 6 | file://lxc.scc \ |
| 7 | file://docker.scc \ |
| 8 | " |
| 9 | KERNEL_FEATURES_append = " ${@bb.utils.contains('DISTRO_FEATURES', 'kvm', 'features/kvm/qemu-kvm-enable.scc', '', d)}" |
| 10 | |
| 11 | KERNEL_MODULE_AUTOLOAD += "openvswitch" |
| 12 | KERNEL_MODULE_AUTOLOAD += "${@bb.utils.contains('DISTRO_FEATURES', 'kvm', 'kvm', '', d)}" |
| 13 | KERNEL_MODULE_AUTOLOAD += "${@bb.utils.contains('DISTRO_FEATURES', 'kvm', 'kvm-amd', '', d)}" |
| 14 | KERNEL_MODULE_AUTOLOAD += "${@bb.utils.contains('DISTRO_FEATURES', 'kvm', 'kvm-intel', '', d)}" |
| 15 | |
| 16 | # aufs kernel support required for xen-image-minimal |
| 17 | KERNEL_FEATURES_append += "${@bb.utils.contains('DISTRO_FEATURES', 'aufs', ' features/aufs/aufs-enable.scc', '', d)}" |
| 18 | |
| 19 | # xen kernel support |
| 20 | SRC_URI += "${@bb.utils.contains('DISTRO_FEATURES', 'xen', ' file://xen.scc', '', d)}" |