Damien Le Moal | eebf34a | 2020-11-20 10:55:19 +0900 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0 |
2 | |||||
3 | # needed for trace events | ||||
4 | ccflags-y += -I$(src) | ||||
5 | |||||
6 | obj-$(CONFIG_BLK_DEV_NULL_BLK) += null_blk.o | ||||
7 | null_blk-objs := main.o | ||||
8 | ifeq ($(CONFIG_BLK_DEV_ZONED), y) | ||||
9 | null_blk-$(CONFIG_TRACING) += trace.o | ||||
10 | endif | ||||
11 | null_blk-$(CONFIG_BLK_DEV_ZONED) += zoned.o |