mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-14 14:34:28 +08:00
eebf34a85c
Move null_blk driver code into the new sub-directory drivers/block/null_blk. Suggested-by: Bart Van Assche <bvanassche@acm.org> Signed-off-by: Damien Le Moal <damien.lemoal@wdc.com> Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
12 lines
281 B
Makefile
12 lines
281 B
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
|
|
# needed for trace events
|
|
ccflags-y += -I$(src)
|
|
|
|
obj-$(CONFIG_BLK_DEV_NULL_BLK) += null_blk.o
|
|
null_blk-objs := main.o
|
|
ifeq ($(CONFIG_BLK_DEV_ZONED), y)
|
|
null_blk-$(CONFIG_TRACING) += trace.o
|
|
endif
|
|
null_blk-$(CONFIG_BLK_DEV_ZONED) += zoned.o
|