aboutsummaryrefslogtreecommitdiff
path: root/samples/rust/Makefile
diff options
context:
space:
mode:
authorAbdiel Janulgue <abdiel.janulgue@gmail.com>2025-03-17 20:52:10 +0200
committerMiguel Ojeda <ojeda@kernel.org>2025-03-20 21:44:46 +0100
commit9901addae63b9033335fb484a5f0c4367322df8b (patch)
treed5f83e34b759654c374abfdaa75bee33ce8b1075 /samples/rust/Makefile
parentad2907b4e308a93deac93ff408f8bbbcac333905 (diff)
samples: rust: add Rust dma test sample driver
Add a simple driver to exercise the basics of the Rust DMA coherent allocator bindings. Suggested-by: Danilo Krummrich <dakr@kernel.org> Signed-off-by: Abdiel Janulgue <abdiel.janulgue@gmail.com> Acked-by: Danilo Krummrich <dakr@kernel.org> Link: https://lore.kernel.org/r/20250317185345.2608976-4-abdiel.janulgue@gmail.com [ Renamed Kconfig symbol and moved it up. Migrated to the new `authors` key in `module!`. Fixed module name in description and typo in commit message. - Miguel ] Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
Diffstat (limited to 'samples/rust/Makefile')
-rw-r--r--samples/rust/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/samples/rust/Makefile b/samples/rust/Makefile
index 0dbc6d90f1ef..c6a2479f7d9c 100644
--- a/samples/rust/Makefile
+++ b/samples/rust/Makefile
@@ -4,6 +4,7 @@ ccflags-y += -I$(src) # needed for trace events
obj-$(CONFIG_SAMPLE_RUST_MINIMAL) += rust_minimal.o
obj-$(CONFIG_SAMPLE_RUST_MISC_DEVICE) += rust_misc_device.o
obj-$(CONFIG_SAMPLE_RUST_PRINT) += rust_print.o
+obj-$(CONFIG_SAMPLE_RUST_DMA) += rust_dma.o
obj-$(CONFIG_SAMPLE_RUST_DRIVER_PCI) += rust_driver_pci.o
obj-$(CONFIG_SAMPLE_RUST_DRIVER_PLATFORM) += rust_driver_platform.o
obj-$(CONFIG_SAMPLE_RUST_DRIVER_FAUX) += rust_driver_faux.o