From: Harish Sadineni <[email protected]> Add a new kernel feature that enables Rust support in the kernel. This introduces kernel-rust.cfg to set Rust-related Kconfig options and kernel-rust.scc to define the feature metadata.
The feature enables: - CONFIG_RUST - CONFIG_RUST_OVERFLOW_CHECKS - CONFIG_RUST_BUILD_ASSERT_ALLOW Signed-off-by: Harish Sadineni <[email protected]> --- features/kernel-rust/kernel-rust.cfg | 4 ++++ features/kernel-rust/kernel-rust.scc | 4 ++++ 2 files changed, 8 insertions(+) create mode 100644 features/kernel-rust/kernel-rust.cfg create mode 100644 features/kernel-rust/kernel-rust.scc diff --git a/features/kernel-rust/kernel-rust.cfg b/features/kernel-rust/kernel-rust.cfg new file mode 100644 index 00000000..1ae73f36 --- /dev/null +++ b/features/kernel-rust/kernel-rust.cfg @@ -0,0 +1,4 @@ +# SPDX-License-Identifier: MIT +CONFIG_RUST=y +CONFIG_RUST_OVERFLOW_CHECKS=y +CONFIG_RUST_BUILD_ASSERT_ALLOW=y diff --git a/features/kernel-rust/kernel-rust.scc b/features/kernel-rust/kernel-rust.scc new file mode 100644 index 00000000..ab239fd7 --- /dev/null +++ b/features/kernel-rust/kernel-rust.scc @@ -0,0 +1,4 @@ +# SPDX-License-Identifier: MIT +define KFEATURE_DESCRIPTION "Enable Rust Kernel Support" + +kconf non-hardware kernel-rust.cfg -- 2.49.0
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#16041): https://lists.yoctoproject.org/g/linux-yocto/message/16041 Mute This Topic: https://lists.yoctoproject.org/mt/116727958/21656 Group Owner: [email protected] Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
