We shouldn't compile an object file to get empty implementations; conforms to linux coding style on conditional compilation. Signed-off-by: Keith Busch <keith.busch@intel.com> Signed-off-by: Matias Bjørling <m@bjorling.me> Signed-off-by: Jens Axboe <axboe@fb.com>
5 lines
118 B
Makefile
5 lines
118 B
Makefile
|
|
obj-$(CONFIG_BLK_DEV_NVME) += nvme.o
|
|
|
|
lightnvm-$(CONFIG_NVM) := lightnvm.o
|
|
nvme-y += pci.o scsi.o $(lightnvm-y)
|