summaryrefslogtreecommitdiffstats
path: root/drivers/nvme/common/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/nvme/common/Makefile')
-rw-r--r--drivers/nvme/common/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/nvme/common/Makefile b/drivers/nvme/common/Makefile
index 720c625b8a52..0cbd0b0b8d49 100644
--- a/drivers/nvme/common/Makefile
+++ b/drivers/nvme/common/Makefile
@@ -4,4 +4,5 @@ ccflags-y += -I$(src)
obj-$(CONFIG_NVME_COMMON) += nvme-common.o
-nvme-common-y += auth.o
+nvme-common-$(CONFIG_NVME_AUTH) += auth.o
+nvme-common-$(CONFIG_NVME_KEYRING) += keyring.o