mirror of
https://github.com/raspberrypi/linux.git
synced 2026-01-03 00:03:44 +00:00
Add a sample to the samples folder, demonstrating the intended use of the Rust configfs API. Link: https://lore.kernel.org/r/20250508-configfs-v8-2-8ebde6180edc@kernel.org Signed-off-by: Andreas Hindborg <a.hindborg@kernel.org>
16 lines
649 B
Makefile
16 lines
649 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
|
|
obj-$(CONFIG_SAMPLE_RUST_CONFIGFS) += rust_configfs.o
|
|
|
|
rust_print-y := rust_print_main.o rust_print_events.o
|
|
|
|
subdir-$(CONFIG_SAMPLE_RUST_HOSTPROGS) += hostprogs
|