summaryrefslogtreecommitdiff
path: root/samples/rust/Makefile
diff options
context:
space:
mode:
authorDaniel Almeida <daniel.almeida@collabora.com>2025-08-25 15:18:06 -0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-09-24 13:13:04 +0200
commitcc80dbb73b5d0c75b105e5214f34e1360670e0a5 (patch)
tree284547a1504e68ab1f68b47b30bf92719fb69ba5 /samples/rust/Makefile
parente7e2296b0ecf9b6e934f7a1118cee91d4d486a84 (diff)
samples: rust: add a USB driver sample
In light of the newly-added Rust abstractions for USB devices and drivers, add a sample USB rust driver that serves both to showcase what is currently supported, as well as be the only user of the USB abstractions for now. Signed-off-by: Daniel Almeida <daniel.almeida@collabora.com> Link: https://lore.kernel.org/r/20250825-b4-usb-v1-2-7aa024de7ae8@collabora.com [ force USB = y for now - gregkh ] Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.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 bd2faad63b4f..4e7df8a5cd27 100644
--- a/samples/rust/Makefile
+++ b/samples/rust/Makefile
@@ -7,6 +7,7 @@ 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_USB) += rust_driver_usb.o
obj-$(CONFIG_SAMPLE_RUST_DRIVER_FAUX) += rust_driver_faux.o
obj-$(CONFIG_SAMPLE_RUST_DRIVER_AUXILIARY) += rust_driver_auxiliary.o
obj-$(CONFIG_SAMPLE_RUST_CONFIGFS) += rust_configfs.o