On 2025-11-19 11:48 a.m., [email protected] wrote:
From: Harish Sadineni<[email protected]>
In sdk while running make prepare in kernel-source directory after rust
Style and an extra word: 'rust':
In sdk, while running: 'make prepare' in the kernel-source directory after
enabling rust config. it will throw erros since only makefile is present
s/./,/
s/erros/errors/
in rust kernel souces.
s/souces/sources/
../Randy
Signed-off-by: Harish Sadineni<[email protected]>
---
meta/recipes-kernel/linux/kernel-devsrc.bb | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/meta/recipes-kernel/linux/kernel-devsrc.bb
b/meta/recipes-kernel/linux/kernel-devsrc.bb
index 411c99ba30..615c53dd22 100644
--- a/meta/recipes-kernel/linux/kernel-devsrc.bb
+++ b/meta/recipes-kernel/linux/kernel-devsrc.bb
@@ -139,6 +139,10 @@ do_install() {
cd ${S}
cp -a scripts $kerneldir/build
+
+ if ${@bb.utils.contains('DISTRO_FEATURES', 'rust-kernel', 'true',
'false', d)}; then
+ cp -a rust ${kerneldir}/build
+ fi
# for v6.1+ (otherwise we are missing multiple default targets)
cp -a --parents Kbuild $kerneldir/build 2>/dev/null || :
--
# Randy MacLeod
# Wind River Linux
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#226589):
https://lists.openembedded.org/g/openembedded-core/message/226589
Mute This Topic: https://lists.openembedded.org/mt/116376812/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-