aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/block/Makefile
diff options
context:
space:
mode:
authorAndreas Hindborg <a.hindborg@samsung.com>2024-06-11 13:45:50 +0200
committerJens Axboe <axboe@kernel.dk>2024-06-14 07:45:04 -0600
commitbc5b533b91ef0b8a09fe507e23d1c6c43c1fb0f5 (patch)
tree80bf619e5857fd7624dc00a0df804c4ef4f68200 /drivers/block/Makefile
parentrust: block: introduce `kernel::block::mq` module (diff)
downloadlinux-bc5b533b91ef0b8a09fe507e23d1c6c43c1fb0f5.tar.gz
linux-bc5b533b91ef0b8a09fe507e23d1c6c43c1fb0f5.zip
rust: block: add rnull, Rust null_blk implementation
This patch adds an initial version of the Rust null block driver. Signed-off-by: Andreas Hindborg <a.hindborg@samsung.com> Reviewed-by: Benno Lossin <benno.lossin@proton.me> Link: https://lore.kernel.org/r/20240611114551.228679-3-nmi@metaspace.dk Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/block/Makefile')
-rw-r--r--drivers/block/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/block/Makefile b/drivers/block/Makefile
index 101612cba303..1105a2d4fdcb 100644
--- a/drivers/block/Makefile
+++ b/drivers/block/Makefile
@@ -9,6 +9,9 @@
# needed for trace events
ccflags-y += -I$(src)
+obj-$(CONFIG_BLK_DEV_RUST_NULL) += rnull_mod.o
+rnull_mod-y := rnull.o
+
obj-$(CONFIG_MAC_FLOPPY) += swim3.o
obj-$(CONFIG_BLK_DEV_SWIM) += swim_mod.o
obj-$(CONFIG_BLK_DEV_FD) += floppy.o