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/Makefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/drivers/nvme/common/Makefile b/drivers/nvme/common/Makefile
new file mode 100644
index 000000000..fd9d01a60
--- /dev/null
+++ b/drivers/nvme/common/Makefile
@@ -0,0 +1,11 @@
+# SPDX-License-Identifier: GPL-2.0
+
+ccflags-y += -I$(src)
+
+obj-$(CONFIG_NVME_AUTH) += nvme-auth.o
+obj-$(CONFIG_NVME_KEYRING) += nvme-keyring.o
+
+nvme-auth-y += auth.o
+nvme-keyring-y += keyring.o
+
+obj-$(CONFIG_NVME_AUTH_KUNIT_TEST) += tests/auth_kunit.o