mirror of
https://github.com/raspberrypi/linux.git
synced 2025-12-23 10:12:24 +00:00
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>
15 lines
594 B
Makefile
15 lines
594 B
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
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
|
|
|
|
rust_print-y := rust_print_main.o rust_print_events.o
|
|
|
|
subdir-$(CONFIG_SAMPLE_RUST_HOSTPROGS) += hostprogs
|