xref: /linux/drivers/block/null_blk/Makefile (revision c532de5a67a70f8533d495f8f2aaa9a0491c3ad0)
1# SPDX-License-Identifier: GPL-2.0
2
3# needed for trace events
4ccflags-y			+= -I$(src)
5
6obj-$(CONFIG_BLK_DEV_NULL_BLK)	+= null_blk.o
7null_blk-objs			:= main.o
8ifeq ($(CONFIG_BLK_DEV_ZONED), y)
9null_blk-$(CONFIG_TRACING) 	+= trace.o
10endif
11null_blk-$(CONFIG_BLK_DEV_ZONED) += zoned.o
12