X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=drivers%2Fnvme%2Fhost%2FMakefile;h=9a3ca892b4a722e2a6d51aef48d1397985fa5bc4;hb=bba722fd63fd78ee85cfc27cf0013b44c01c5027;hp=51bf90871549844c7f4db638a7ec26c4b4b9aa51;hpb=733f4c79deac86d5a509f130638a2a5a18a943ea;p=karo-tx-linux.git diff --git a/drivers/nvme/host/Makefile b/drivers/nvme/host/Makefile index 51bf90871549..9a3ca892b4a7 100644 --- a/drivers/nvme/host/Makefile +++ b/drivers/nvme/host/Makefile @@ -1,6 +1,8 @@ +obj-$(CONFIG_NVME_CORE) += nvme-core.o +obj-$(CONFIG_BLK_DEV_NVME) += nvme.o -obj-$(CONFIG_BLK_DEV_NVME) += nvme.o +nvme-core-y := core.o +nvme-core-$(CONFIG_BLK_DEV_NVME_SCSI) += scsi.o +nvme-core-$(CONFIG_NVM) += lightnvm.o -lightnvm-$(CONFIG_NVM) := lightnvm.o -nvme-y += core.o pci.o $(lightnvm-y) -nvme-$(CONFIG_BLK_DEV_NVME_SCSI) += scsi.o +nvme-y += pci.o