aboutsummaryrefslogtreecommitdiff
path: root/samples/rust/Makefile
diff options
context:
space:
mode:
authorDanilo Krummrich <dakr@kernel.org>2025-04-14 15:18:08 +0200
committerDanilo Krummrich <dakr@kernel.org>2025-04-19 14:24:05 +0200
commit96609a1969f4ade45351ec368c65580c77592e8b (patch)
tree9481dbfe31579a5a7045d106b0f52bc73b69dd85 /samples/rust/Makefile
parent0d1803d25f8c7586beb3843c8efbb83f24ce2539 (diff)
samples: rust: add Rust auxiliary driver sample
Add a sample Rust auxiliary driver based on a PCI driver for QEMU's "pci-testdev" device. The PCI driver only registers an auxiliary device, in order to make the corresponding auxiliary driver probe. Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Link: https://lore.kernel.org/r/20250414131934.28418-6-dakr@kernel.org [ Use `ok_or()` when accessing auxiliary::Device::parent(). - Danilo ] Signed-off-by: Danilo Krummrich <dakr@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 c6a2479f7d9c..6a466afd2a21 100644
--- a/samples/rust/Makefile
+++ b/samples/rust/Makefile
@@ -8,6 +8,7 @@ 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_DRIVER_AUXILIARY) += rust_driver_auxiliary.o
rust_print-y := rust_print_main.o rust_print_events.o