1# SPDX-License-Identifier: GPL-2.0 2 3config ANDROID_BINDER_IPC_RUST 4 tristate "Rust version of Android Binder IPC Driver" 5 depends on RUST && ANDROID_BINDER_IPC && ANDROID_BINDERFS 6 help 7 This enables the Rust implementation of the Binder driver. At this 8 time, the Rust implementation can only be built as an alternative to 9 the C implementation. By default, the C implementation is used, but 10 if the binder.impl=rust kernel command-line parameter is provided, 11 then the Rust implementation is used instead. 12 13 To build this as a GKI module, choose m. 14 15config ANDROID_BINDER_IPC_RUST_DUMMY 16 tristate "Empty module called rust_binder.ko" 17 depends on ANDROID_BINDER_IPC && !ANDROID_BINDER_IPC_RUST 18 help 19 This creates an empty module of the same name as the Rust Binder 20 module. This option can be used to trick the build system into 21 thinking that Rust Binder was successfully built in cases where Rust 22 support is unavailable. 23 24