From: Harish Sadineni <[email protected]>

Extend the existing kernel-sample feature by adding support for the Rust
sample modules provided by the kernel. This adds a new kernel-rust-sample.cfg
and corresponding .scc entry alongside the existing kernel-samples.cfg.

The new configuration enables:
  - CONFIG_SAMPLES_RUST
  - CONFIG_SAMPLE_RUST_MINIMAL
  - CONFIG_SAMPLE_RUST_PRINT
  - CONFIG_SAMPLE_RUST_HOSTPROGS

Signed-off-by: Harish Sadineni <[email protected]>
---
 features/kernel-sample/kernel-rust-sample.cfg | 5 +++++
 features/kernel-sample/kernel-rust-sample.scc | 3 +++
 2 files changed, 8 insertions(+)
 create mode 100644 features/kernel-sample/kernel-rust-sample.cfg
 create mode 100644 features/kernel-sample/kernel-rust-sample.scc

diff --git a/features/kernel-sample/kernel-rust-sample.cfg 
b/features/kernel-sample/kernel-rust-sample.cfg
new file mode 100644
index 00000000..e8d80fe2
--- /dev/null
+++ b/features/kernel-sample/kernel-rust-sample.cfg
@@ -0,0 +1,5 @@
+# SPDX-License-Identifier: MIT
+CONFIG_SAMPLES_RUST=y
+CONFIG_SAMPLE_RUST_MINIMAL=m
+CONFIG_SAMPLE_RUST_PRINT=y
+CONFIG_SAMPLE_RUST_HOSTPROGS=y
diff --git a/features/kernel-sample/kernel-rust-sample.scc 
b/features/kernel-sample/kernel-rust-sample.scc
new file mode 100644
index 00000000..dd921c9a
--- /dev/null
+++ b/features/kernel-sample/kernel-rust-sample.scc
@@ -0,0 +1,3 @@
+# SPDX-License-Identifier: MIT
+
+kconf non-hardware kernel-rust-sample.cfg
-- 
2.49.0

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

Reply via email to