1# 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-y += badrange.o 25libnvdimm-$(CONFIG_ND_CLAIM) += claim.o 26libnvdimm-$(CONFIG_BTT) += btt_devs.o 27libnvdimm-$(CONFIG_NVDIMM_PFN) += pfn_devs.o 28libnvdimm-$(CONFIG_NVDIMM_DAX) += dax_devs.o 29