From: Yann Dirson <y...@blade-group.com>

Cross-building a systemtap module requires access to debug information.
---
 meta/classes/kernel.bbclass | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass
index 48135b3d41..fd2355bb68 100644
--- a/meta/classes/kernel.bbclass
+++ b/meta/classes/kernel.bbclass
@@ -495,6 +495,10 @@ do_shared_workdir () {
                cp signing_key.* $kerneldir/
        fi
 
+        # Copy vmlinux, needed by recipes depending on kernel debuginfo,
+        # like systemtap modules
+        cp vmlinux $kerneldir/
+
        # We can also copy over all the generated files and avoid special cases
        # like version.h, but we've opted to keep this small until file creep 
starts
        # to happen
-- 
2.28.0

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#142689): 
https://lists.openembedded.org/g/openembedded-core/message/142689
Mute This Topic: https://lists.openembedded.org/mt/76990991/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to