Makefile 834 字节
Newer Older
1
# SPDX-License-Identifier: GPL-2.0
2
obj-$(CONFIG_LIBNVDIMM) += libnvdimm.o
3
obj-$(CONFIG_BLK_DEV_PMEM) += nd_pmem.o
V
Vishal Verma 已提交
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
9 10

nd_pmem-y := pmem.o
11

V
Vishal Verma 已提交
12 13
nd_btt-y := btt.o

14 15
nd_blk-y := blk.o

16 17
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 24
libnvdimm-y += region.o
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