blob: 447e0e14f3b65b86d945f4c2d6186f595da3dbc0 [file] [log] [blame]
rjw1f884582022-01-06 17:20:42 +08001# SPDX-License-Identifier: GPL-2.0
2obj-$(CONFIG_LIBNVDIMM) += libnvdimm.o
3obj-$(CONFIG_BLK_DEV_PMEM) += nd_pmem.o
4obj-$(CONFIG_ND_BTT) += nd_btt.o
5obj-$(CONFIG_ND_BLK) += nd_blk.o
6obj-$(CONFIG_X86_PMEM_LEGACY) += nd_e820.o
7
8nd_pmem-y := pmem.o
9
10nd_btt-y := btt.o
11
12nd_blk-y := blk.o
13
14nd_e820-y := e820.o
15
16libnvdimm-y := core.o
17libnvdimm-y += bus.o
18libnvdimm-y += dimm_devs.o
19libnvdimm-y += dimm.o
20libnvdimm-y += region_devs.o
21libnvdimm-y += region.o
22libnvdimm-y += namespace_devs.o
23libnvdimm-y += label.o
24libnvdimm-$(CONFIG_ND_CLAIM) += claim.o
25libnvdimm-$(CONFIG_BTT) += btt_devs.o
26libnvdimm-$(CONFIG_NVDIMM_PFN) += pfn_devs.o
27libnvdimm-$(CONFIG_NVDIMM_DAX) += dax_devs.o