Merge tag 'block-5.11-2021-01-10' of git://git.kernel.dk/linux-block
[linux/fpc-iii.git] / drivers / nvdimm / Makefile
blob29203f3d3069491f8f8d1a151c7586b73fb7a50d
1 # SPDX-License-Identifier: GPL-2.0
2 obj-$(CONFIG_LIBNVDIMM) += libnvdimm.o
3 obj-$(CONFIG_BLK_DEV_PMEM) += nd_pmem.o
4 obj-$(CONFIG_ND_BTT) += nd_btt.o
5 obj-$(CONFIG_ND_BLK) += nd_blk.o
6 obj-$(CONFIG_X86_PMEM_LEGACY) += nd_e820.o
7 obj-$(CONFIG_OF_PMEM) += of_pmem.o
8 obj-$(CONFIG_VIRTIO_PMEM) += virtio_pmem.o nd_virtio.o
10 nd_pmem-y := pmem.o
12 nd_btt-y := btt.o
14 nd_blk-y := blk.o
16 nd_e820-y := e820.o
18 libnvdimm-y := core.o
19 libnvdimm-y += bus.o
20 libnvdimm-y += dimm_devs.o
21 libnvdimm-y += dimm.o
22 libnvdimm-y += region_devs.o
23 libnvdimm-y += region.o
24 libnvdimm-y += namespace_devs.o
25 libnvdimm-y += label.o
26 libnvdimm-y += badrange.o
27 libnvdimm-$(CONFIG_ND_CLAIM) += claim.o
28 libnvdimm-$(CONFIG_BTT) += btt_devs.o
29 libnvdimm-$(CONFIG_NVDIMM_PFN) += pfn_devs.o
30 libnvdimm-$(CONFIG_NVDIMM_DAX) += dax_devs.o
31 libnvdimm-$(CONFIG_NVDIMM_KEYS) += security.o
33 TOOLS := ../../tools
34 TEST_SRC := $(TOOLS)/testing/nvdimm/test
35 obj-$(CONFIG_NVDIMM_TEST_BUILD) += $(TEST_SRC)/iomap.o