# SPDX-License-Identifier: GPL-2.0 obj-$([31mCONFIG_LIBNVDIMM[0m) += libnvdimm.o obj-$([31mCONFIG_BLK_DEV_PMEM[0m) += nd_pmem.o obj-$([31mCONFIG_ND_BTT[0m) += nd_btt.o obj-$([31mCONFIG_ND_BLK[0m) += nd_blk.o obj-$([31mCONFIG_X86_PMEM_LEGACY[0m) += nd_e820.o obj-$([31mCONFIG_OF_PMEM[0m) += of_pmem.o obj-$([31mCONFIG_VIRTIO_PMEM[0m) += virtio_pmem.o nd_virtio.o nd_pmem-y := pmem.o nd_btt-y := btt.o nd_blk-y := blk.o nd_e820-y := e820.o libnvdimm-y := core.o libnvdimm-y += bus.o libnvdimm-y += dimm_devs.o libnvdimm-y += dimm.o libnvdimm-y += region_devs.o libnvdimm-y += region.o libnvdimm-y += namespace_devs.o libnvdimm-y += label.o libnvdimm-y += badrange.o libnvdimm-$([31mCONFIG_ND_CLAIM[0m) += claim.o libnvdimm-$([31mCONFIG_BTT[0m) += btt_devs.o libnvdimm-$([31mCONFIG_NVDIMM_PFN[0m) += pfn_devs.o libnvdimm-$([31mCONFIG_NVDIMM_DAX[0m) += dax_devs.o libnvdimm-$([31mCONFIG_NVDIMM_KEYS[0m) += security.o TOOLS := ../../tools TEST_SRC := $(TOOLS)/testing/nvdimm/test obj-$([31mCONFIG_NVDIMM_TEST_BUILD[0m) += $(TEST_SRC)/iomap.o |