xref: /openbmc/linux/drivers/block/null_blk/Makefile (revision eebf34a8)
1*eebf34a8SDamien Le Moal# SPDX-License-Identifier: GPL-2.0
2*eebf34a8SDamien Le Moal
3*eebf34a8SDamien Le Moal# needed for trace events
4*eebf34a8SDamien Le Moalccflags-y			+= -I$(src)
5*eebf34a8SDamien Le Moal
6*eebf34a8SDamien Le Moalobj-$(CONFIG_BLK_DEV_NULL_BLK)	+= null_blk.o
7*eebf34a8SDamien Le Moalnull_blk-objs			:= main.o
8*eebf34a8SDamien Le Moalifeq ($(CONFIG_BLK_DEV_ZONED), y)
9*eebf34a8SDamien Le Moalnull_blk-$(CONFIG_TRACING) 	+= trace.o
10*eebf34a8SDamien Le Moalendif
11*eebf34a8SDamien Le Moalnull_blk-$(CONFIG_BLK_DEV_ZONED) += zoned.o
12