diff options
-rw-r--r-- | recipes-kernel/linux/linux-yocto_virtualization.inc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/recipes-kernel/linux/linux-yocto_virtualization.inc b/recipes-kernel/linux/linux-yocto_virtualization.inc index 283be0f8..bc2f4040 100644 --- a/recipes-kernel/linux/linux-yocto_virtualization.inc +++ b/recipes-kernel/linux/linux-yocto_virtualization.inc | |||
@@ -61,6 +61,12 @@ KERNEL_FEATURES:append = " ${KERNEL_CACHE_FEATURES}" | |||
61 | # features can be enabled via the fragments | 61 | # features can be enabled via the fragments |
62 | do_kernel_metadata[depends] += "${KERNEL_CFG_DEPENDS}" | 62 | do_kernel_metadata[depends] += "${KERNEL_CFG_DEPENDS}" |
63 | 63 | ||
64 | # if externalsrc is enabled, do_kernel_metadata dependency on | ||
65 | # yocto-cfg-fragments-native won't be run to populate | ||
66 | # recipe-sysroot-native/kcfg because do_patch is not run. Manully add | ||
67 | # the dependency to do_kernel_configme for this special case | ||
68 | do_kernel_configme[depends] += "${@['', d.getVar('PN') + ':do_kernel_metadata'][(bb.data.inherits_class('externalsrc', d))]}" | ||
69 | |||
64 | # xen kernel support | 70 | # xen kernel support |
65 | # SRC_URI += "${@bb.utils.contains('DISTRO_FEATURES', 'xen', ' file://xen.scc', '', d)}" | 71 | # SRC_URI += "${@bb.utils.contains('DISTRO_FEATURES', 'xen', ' file://xen.scc', '', d)}" |
66 | KERNEL_FEATURES:append = "${@distro_cond_feature('cfg/xen.scc', 'xen', d )}" | 72 | KERNEL_FEATURES:append = "${@distro_cond_feature('cfg/xen.scc', 'xen', d )}" |