When the kernel is rebuild or some of they tasks change the
kernel modules is not rebuild as well and will comes from
the sstate-cache.

[YOCTO #14885] https://bugzilla.yoctoproject.org/show_bug.cgi?id=14885

Signed-off-by: Jose Quaresma <[email protected]>
---
 meta/classes/module.bbclass | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta/classes/module.bbclass b/meta/classes/module.bbclass
index a09ec3ed1e..d377a08bc6 100644
--- a/meta/classes/module.bbclass
+++ b/meta/classes/module.bbclass
@@ -1,5 +1,7 @@
 inherit module-base kernel-module-split pkgconfig
 
+DEPENDS += "virtual/kernel"
+
 EXTRA_OEMAKE += "KERNEL_SRC=${STAGING_KERNEL_DIR}"
 
 MODULES_INSTALL_TARGET ?= "modules_install"
-- 
2.37.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#169253): 
https://lists.openembedded.org/g/openembedded-core/message/169253
Mute This Topic: https://lists.openembedded.org/mt/92962048/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to