rjw | 1f88458 | 2022-01-06 17:20:42 +0800 | [diff] [blame^] | 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 | |
| 8 | nd_pmem-y := pmem.o |
| 9 | |
| 10 | nd_btt-y := btt.o |
| 11 | |
| 12 | nd_blk-y := blk.o |
| 13 | |
| 14 | nd_e820-y := e820.o |
| 15 | |
| 16 | libnvdimm-y := core.o |
| 17 | libnvdimm-y += bus.o |
| 18 | libnvdimm-y += dimm_devs.o |
| 19 | libnvdimm-y += dimm.o |
| 20 | libnvdimm-y += region_devs.o |
| 21 | libnvdimm-y += region.o |
| 22 | libnvdimm-y += namespace_devs.o |
| 23 | libnvdimm-y += label.o |
| 24 | libnvdimm-$(CONFIG_ND_CLAIM) += claim.o |
| 25 | libnvdimm-$(CONFIG_BTT) += btt_devs.o |
| 26 | libnvdimm-$(CONFIG_NVDIMM_PFN) += pfn_devs.o |
| 27 | libnvdimm-$(CONFIG_NVDIMM_DAX) += dax_devs.o |