summaryrefslogtreecommitdiffstats
path: root/src/spdk/dpdk/drivers/vdpa/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/spdk/dpdk/drivers/vdpa/Makefile')
-rw-r--r--src/spdk/dpdk/drivers/vdpa/Makefile12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/spdk/dpdk/drivers/vdpa/Makefile b/src/spdk/dpdk/drivers/vdpa/Makefile
new file mode 100644
index 000000000..6e8835948
--- /dev/null
+++ b/src/spdk/dpdk/drivers/vdpa/Makefile
@@ -0,0 +1,12 @@
+# SPDX-License-Identifier: BSD-3-Clause
+# Copyright 2019 Mellanox Technologies, Ltd
+
+include $(RTE_SDK)/mk/rte.vars.mk
+
+ifeq ($(CONFIG_RTE_EAL_VFIO),y)
+DIRS-$(CONFIG_RTE_LIBRTE_IFC_PMD) += ifc
+endif
+
+DIRS-$(CONFIG_RTE_LIBRTE_MLX5_VDPA_PMD) += mlx5
+
+include $(RTE_SDK)/mk/rte.subdir.mk