diff options
-rw-r--r-- | recipes-kernel/linux/linux-yocto_virtualization.inc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/recipes-kernel/linux/linux-yocto_virtualization.inc b/recipes-kernel/linux/linux-yocto_virtualization.inc index e729c3b2..f58c9f9d 100644 --- a/recipes-kernel/linux/linux-yocto_virtualization.inc +++ b/recipes-kernel/linux/linux-yocto_virtualization.inc | |||
@@ -33,6 +33,8 @@ def distro_cond_feature(feature_fragment,distro_feature,d): | |||
33 | feat = kernel_cache_feature("",feature_fragment) | 33 | feat = kernel_cache_feature("",feature_fragment) |
34 | return bb.utils.contains('DISTRO_FEATURES', distro_feature, ' ' + feat, ' ', d) | 34 | return bb.utils.contains('DISTRO_FEATURES', distro_feature, ' ' + feat, ' ', d) |
35 | 35 | ||
36 | # kept as a reference if we go back to a dynamically calculated | ||
37 | # fragment dependency. | ||
36 | def kernel_meta_ver_depends(d): | 38 | def kernel_meta_ver_depends(d): |
37 | yocto_enabled = bb.data.inherits_class('kernel-yocto', d) | 39 | yocto_enabled = bb.data.inherits_class('kernel-yocto', d) |
38 | if yocto_enabled: | 40 | if yocto_enabled: |
@@ -41,7 +43,7 @@ def kernel_meta_ver_depends(d): | |||
41 | else: | 43 | else: |
42 | return "" | 44 | return "" |
43 | 45 | ||
44 | KERNEL_CFG_DEPENDS ?= "${@kernel_meta_ver_depends(d)}" | 46 | KERNEL_CFG_DEPENDS ?= "yocto-cfg-fragments-${LINUX_MAJOR}.${LINUX_MINOR}-native:do_populate_sysroot" |
45 | 47 | ||
46 | KERNEL_CACHE_FEATURES ?= "${@kernel_cache_feature(d.getVar('SRC_URI'),'cfg/virtio.scc')} \ | 48 | KERNEL_CACHE_FEATURES ?= "${@kernel_cache_feature(d.getVar('SRC_URI'),'cfg/virtio.scc')} \ |
47 | ${@kernel_cache_feature(d.getVar('SRC_URI'),'cfg/xt-checksum.scc')} \ | 49 | ${@kernel_cache_feature(d.getVar('SRC_URI'),'cfg/xt-checksum.scc')} \ |