diff options
Diffstat (limited to 'drivers/nvme/host/Makefile')
-rw-r--r-- | drivers/nvme/host/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/nvme/host/Makefile b/drivers/nvme/host/Makefile index baf9f52bbfa5..51bf90871549 100644 --- a/drivers/nvme/host/Makefile +++ b/drivers/nvme/host/Makefile @@ -1,5 +1,6 @@ obj-$(CONFIG_BLK_DEV_NVME) += nvme.o -nvme-y += core.o pci.o lightnvm.o +lightnvm-$(CONFIG_NVM) := lightnvm.o +nvme-y += core.o pci.o $(lightnvm-y) nvme-$(CONFIG_BLK_DEV_NVME_SCSI) += scsi.o |